Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix the names of _PyObject_GC_TRACK and _PyObject_GC_UNTRACK when the GC is | Neil Schemenauer | 2001-09-03 | 1 | -2/+2 |
| | | | | disabled. Obviously everyone enables the GC. :-) | ||||
* | Change the GC type flag since the API has changed. Allow types using | Neil Schemenauer | 2001-08-29 | 1 | -50/+66 |
| | | | | | | | the old flag to still compile. Remove the PyType_BASICSIZE and PyType_SET_BASICSIZE macros. Add PyObject_GC_New, PyObject_GC_NewVar, PyObject_GC_Resize, PyObject_GC_Del, PyObject_GC_Track, PyObject_GC_UnTrack. Part of SF patch #421893. | ||||
* | Removed duplicate definnitions of PyObject_AS_GC and PyObject_FROM_GC ↵ | Jack Jansen | 2001-08-03 | 1 | -2/+0 |
| | | | | (occurred only if GC was off). | ||||
* | Merge of descr-branch back into trunk. | Tim Peters | 2001-08-02 | 1 | -1/+14 |
| | |||||
* | A small change to the C API for weakly-referencable types: Such types | Fred Drake | 2001-03-22 | 1 | -5/+1 |
| | | | | | | | | must now initialize the extra field used by the weak-ref machinery to NULL themselves, to avoid having to require PyObject_INIT() to check if the type supports weak references and do it there. This causes less work to be done for all objects (the type object does not need to be consulted to check for the Py_TPFLAGS_HAVE_WEAKREFS bit). | ||||
* | Add Vladimir Marangozov's object allocator. It is disabled by default. This | Neil Schemenauer | 2001-02-27 | 1 | -0/+7 |
| | | | | closes SF patch #401229. | ||||
* | Use a type flag to determine the applicability of the tp_weaklistoffset | Fred Drake | 2001-02-02 | 1 | -1/+3 |
| | | | | | field. This should avoid binary incompatibility problems with older modules that have not been recompiled. | ||||
* | PEP 205, Weak References -- initial checkin. | Fred Drake | 2001-02-01 | 1 | -1/+11 |
| | |||||
* | PyGC_Dump() -> _PyGC_Dump() | Barry Warsaw | 2001-01-24 | 1 | -1/+1 |
| | |||||
* | Add prototype for PyGC_Dump() -- but only inside the #ifdef | Barry Warsaw | 2001-01-23 | 1 | -0/+2 |
| | | | | WITH_CYCLE_GC. | ||||
* | Fix comment. | Neil Schemenauer | 2001-01-20 | 1 | -2/+2 |
| | |||||
* | REMOVED all CWI, CNRI and BeOpen copyright markings. | Guido van Rossum | 2000-09-01 | 1 | -9/+0 |
| | | | | This should match the situation in the 1.6b1 tree. | ||||
* | Updated comment | Andrew M. Kuchling | 2000-08-16 | 1 | -1/+1 |
| | |||||
* | patch from Vladimir (move Py_Mem* interface to Include/pymem.h) | Peter Schneider-Kamp | 2000-07-31 | 1 | -2/+3 |
| | |||||
* | merge Include/my*.h into Include/pyport.h | Peter Schneider-Kamp | 2000-07-31 | 1 | -1/+1 |
| | | | | marked my*.h as obsolete | ||||
* | Use 'void' directly instead of the ANY #define, now that all code is ANSI C. | Thomas Wouters | 2000-07-25 | 1 | -7/+7 |
| | | | | Leave the actual #define in for API compatibility. | ||||
* | A small comment fix just to make sure I got my cvs/ssh setup right. | Vladimir Marangozov | 2000-07-10 | 1 | -1/+1 |
| | |||||
* | ANSI-fication and Py_PROTO extermination. | Fred Drake | 2000-07-09 | 1 | -16/+17 |
| | |||||
* | Neil Schemenauer: small fixes for GC | Guido van Rossum | 2000-07-01 | 1 | -6/+3 |
| | |||||
* | Change copyright notice - 2nd try. | Guido van Rossum | 2000-06-30 | 1 | -6/+0 |
| | |||||
* | Change copyright notice. | Guido van Rossum | 2000-06-30 | 1 | -22/+7 |
| | |||||
* | final patches from Neil Schemenauer for garbage collection | Jeremy Hylton | 2000-06-30 | 1 | -3/+58 |
| | |||||
* | part 2 of Neil Schemenauer's GC patches: | Jeremy Hylton | 2000-06-23 | 1 | -0/+6 |
| | | | | | | | | This patch modifies the type structures of objects that participate in GC. The object's tp_basicsize is increased when GC is enabled. GC information is prefixed to the object to maintain binary compatibility. GC objects also define the tp_flag Py_TPFLAGS_GC. | ||||
* | Vladimir Marangozov's long-awaited malloc restructuring. | Guido van Rossum | 2000-05-03 | 1 | -25/+187 |
| | | | | | | | | | | 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.) | ||||
* | Got rid of silly "123456789-..." lines in comments. | Guido van Rossum | 2000-03-01 | 1 | -2/+0 |
| | |||||
* | Add DL_IMPORT(returntype) for all officially exported functions. | Guido van Rossum | 1998-12-04 | 1 | -4/+4 |
| | |||||
* | Oops, another forgotten renaming: varobject -> PyVarObject. | Guido van Rossum | 1997-05-15 | 1 | -3/+3 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Hacks for MS_COREDLL | Guido van Rossum | 1996-07-21 | 1 | -0/+14 |
| | |||||
* | make newvarobj's size arg signed | Guido van Rossum | 1995-02-10 | 1 | -1/+1 |
| | |||||
* | The great renaming, phase two: all header files have been updated to | Guido van Rossum | 1995-01-12 | 1 | -7/+7 |
| | | | | | | | use the new names exclusively, and the linker will see the new names. Files that import "Python.h" also only see the new names. Files that import "allobjects.h" will continue to be able to use the old names, due to the inclusion (in allobjects.h) of "rename2.h". | ||||
* | Added 1995 copyright. | Guido van Rossum | 1995-01-04 | 1 | -2/+2 |
| | | | | | | object.h: made sizes and refcnts signed ints. stringobject.h: make getstrsize() signed int. methodobject.h: add METH_VARARGS and METH_FREENAME flag bit definitions. | ||||
* | Merge alpha100 branch back to main trunk | Guido van Rossum | 1994-08-01 | 1 | -1/+1 |
| | |||||
* | * Added support for X11 modules. | Guido van Rossum | 1993-07-28 | 1 | -0/+11 |
| | | | | | | | * Makefile: change location of FORMS library. * posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not) * Almost all .h files: added CPP magic to avoid duplicate inclusions and to support inclusion from C++. | ||||
* | * Changed all copyright messages to include 1993. | Guido van Rossum | 1993-03-29 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | * Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions | ||||
* | Copyright for 1992 added | Guido van Rossum | 1992-04-05 | 1 | -1/+1 |
| | |||||
* | Remove StopPrint hack | Guido van Rossum | 1991-06-07 | 1 | -2/+0 |
| | |||||
* | Added copyright notice. | Guido van Rossum | 1991-02-19 | 1 | -0/+24 |
| | |||||
* | "Compiling" version | Guido van Rossum | 1990-12-20 | 1 | -5/+0 |
| | |||||
* | Changed strdup prototype to use const. | Guido van Rossum | 1990-10-21 | 1 | -1/+1 |
| | |||||
* | Initial revision | Guido van Rossum | 1990-10-14 | 1 | -0/+31 |