Commit Graph

55 Commits

Author SHA1 Message Date
Antoine Pitrou
c83ea137d7 Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
Gregory P. Smith
dd96db63f6 This reverts r63675 based on the discussion in this thread:
http://mail.python.org/pipermail/python-dev/2008-June/079988.html

Python 2.6 should stick with PyString_* in its codebase.  The PyBytes_* names
in the spirit of 3.0 are available via a #define only.  See the email thread.
2008-06-09 04:58:54 +00:00
Christian Heimes
593daf545b Renamed PyString to PyBytes 2008-05-26 12:51:38 +00:00
Christian Heimes
c5f05e45cf Patch #2167 from calvin: Remove unused imports 2008-02-23 17:40:11 +00:00
Georg Brandl
07752aba5e bug #1154: release memory allocated by "es" PyArg_ParseTuple format specifier. 2007-09-12 18:29:18 +00:00
Ronald Oussoren
306b1f31b7 Fix bug #1000914 (again).
This patches a file that is generated by bgen, however the code is now the
same as a current copy of bgen would generate.  Without this patch most types
in the Carbon.CF module are unusable.

I haven't managed to coax bgen into generating a complete copy of _CFmodule.c
yet :-(, hence the manual patching.
2006-05-20 06:17:01 +00:00
Neal Norwitz
c3264e50e7 Get rid of some warnings. 2006-03-20 02:04:23 +00:00
Neal Norwitz
8786eb5e92 Fix a couple of warnings on Mac OS X. 2006-02-24 15:39:29 +00:00
Jack Jansen
918a9e2f63 Updated (and regenerated) for name change in tp_init method arguments:
they are now _self, _args and _kwds.
2005-07-03 20:59:44 +00:00
Tim Peters
182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
Jack Jansen
ce17cf6da7 The CF inheritance could cause double frees of the underlying objects.
Fixed.
2004-07-15 14:25:48 +00:00
Jack Jansen
d9e50f554f CFStringGetUnicode() returned an extra null character at the end of the string.
fixed.
2004-07-15 14:11:30 +00:00
Jack Jansen
3bfc28c12f Make CF module PEP253 based (finally). 2004-07-15 13:42:06 +00:00
Jack Jansen
7107c1aff3 Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.
Cleaned up various things in the toolbox modules.
2003-11-20 13:31:00 +00:00
Jack Jansen
e48cef7aba Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:
MacOS9isms.
2003-11-19 16:13:35 +00:00
Jack Jansen
ac8bd9175b Forgot the code to initialize the glue for the new CFObj_ routines. 2003-05-31 22:09:33 +00:00
Jack Jansen
4eb45e7804 Added functions CFObj_New and CFObj_Convert, general functions to convert
between CF objects and their Python representation. Fixes 734695.
2003-05-27 21:39:58 +00:00
Jack Jansen
885d4f6577 Mod to previous checkin: we must require ascii, not system defautl encoding,
because we have no easy way to convert the python encoding string to
a CF encoding parameter.
2003-03-03 13:19:44 +00:00
Jack Jansen
d505cab5b3 Accept only the system default encoding when converting Python
strings to CF strings. Fixes 682215.
2003-03-03 13:12:59 +00:00
Jack Jansen
234d074446 - Various tweaks to forestall compiler warnings. 2002-12-23 22:35:38 +00:00
Jack Jansen
f955784f0c Regenerated with inheritance-aware xxxx_Check() macros. 2002-12-19 21:24:35 +00:00
Jack Jansen
96cebde909 Added PEP253 support to most Carbon modules. This isn't complete yet:
some of the more compilcated cases (CF, Res) haven't been done yet. Also,
various types should inherit from each other (anything with an as_Resource
method should be a Resource subtype, the CF types should become one family).
2002-12-03 23:40:22 +00:00
Jack Jansen
49931887d7 Regenerated with PyDoc_STR() around docstrings. 2002-08-16 09:09:31 +00:00
Jack Jansen
87eea88b5a After generating the Python file with definitions try to run it, so
we catch errors during the build process in stead of later during runtime.
2002-08-15 21:48:16 +00:00
Jack Jansen
aaebdd6a02 Enable building of Carbon toolbox modules with unix-Python. 2002-08-05 15:39:30 +00:00