summaryrefslogtreecommitdiffstats
path: root/Objects/cobject.c
Commit message (Collapse)AuthorAgeFilesLines
* Capsule-related changes:Larry Hastings2010-04-021-0/+20
| | | | | | | | | | | * PyCObject_AsVoidPtr() can now open capsules. This addresses most of the remaining backwards-compatibility concerns about the conversion of Python 2.7 from CObjects to capsules. * CObjects were marked Pending Deprecation. * Documentation about this pending deprecation was added to cobject.h. * The capsule source files were added to the legacy PC build processes.
* #3668: When PyArg_ParseTuple correctly parses a s* format, but raises anAntoine Pitrou2008-08-291-7/+0
| | | | | | | exception afterwards (for a subsequent parameter), the user code will not call PyBuffer_Release() and memory will leak. Reviewed by Amaury Forgeot d'Arc.
* PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis2007-07-211-2/+1
| | | | | backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT.
* Remove unnecessary casts in type object initializers.Georg Brandl2006-03-301-20/+21
|
* Fix SF #1412837, compile failed with Watcom compilerNeal Norwitz2006-01-241-5/+5
|
* Make CObjects mutable. Fixes #477441.Martin v. Löwis2003-10-191-0/+14
|
* Add whitespace.Jeremy Hylton2003-07-111-3/+3
|
* Patch #568124: Add doc string macros.Martin v. Löwis2002-06-131-2/+2
|
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* ANSI-fication of the source.Fred Drake2000-07-091-109/+95
| | | | Make the indentation and brace placement internally consistent.
* Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.Tim Peters2000-07-091-5/+5
|
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Vladimir Marangozov's long-awaited malloc restructuring.Guido van Rossum2000-05-031-1/+1
| | | | | | | | | | For more comments, read the patches@python.org archives. For documentation read the comments in mymalloc.h and objimpl.h. (This is not exactly what Vladimir posted to the patches list; I've made a few changes, and Vladimir sent me a fix in private email for a problem that only occurs in debug mode. I'm also holding back on his change to main.c, which seems unnecessary to me.)
* New CObject from Jim Fulton, adds PyCObject_FromVoidPtrAndDesc() andGuido van Rossum1997-10-211-1/+52
| | | | PyCObject_GetDesc().
* Keep gcc -Wall happy.Guido van Rossum1997-02-141-2/+2
|
* Added PyCObject_Import.Guido van Rossum1997-01-221-18/+39
|
* Better implementation of PyCObject_AsVoidPtr().Guido van Rossum1996-12-051-7/+18
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Allow compilation by K&R C compiler.Guido van Rossum1996-08-011-8/+8
|
* opaque C object a la Jim FultonGuido van Rossum1996-01-121-0/+100