summaryrefslogtreecommitdiff
path: root/Modules/gcmodule.c
AgeCommit message (Expand)AuthorLines
2006-05-25Replace PyObject_CallFunction calls with only object argsGeorg Brandl-1/+1
2006-04-26Patch from Aldo Cortesi (OpenBSD buildbot owner).Neal Norwitz-7/+14
2006-04-21This is a long-ago patch I submitted to SF (1100924) to time the gc passes.Skip Montanaro-0/+29
2006-04-11Some more changes to make code compile under a C++ compiler.Anthony Baxter-2/+3
2006-04-10SF Patch #1463867: Improved generator finalization to allow generatorsPhillip J. Eby-1/+5
2006-04-06Handle ssize_tNeal Norwitz-2/+2
2006-03-28In format strings slinging Py_ssize_t, unconditionallyTim Peters-22/+9
2006-03-17Fix some missing checks after PyTuple_New, PyList_New, PyDict_NewGeorg Brandl-0/+2
2006-03-07SF patch #1443865; gc.get_count() added and optional argument 'generation'Barry Warsaw-5/+34
2006-03-06Fix warnings on x86 (32-bit) and support Win64.Neal Norwitz-2/+15
2006-03-04Make PyGC_Collect() use Py_ssize_t.Neal Norwitz-11/+11
2006-03-01Change GC refcount to Py_ssize_t.Martin v. Löwis-1/+1
2006-02-16Change _PyObject_GC_Resize to expect Py_ssize_t.Martin v. Löwis-1/+1
2006-02-15Merge ssize_t branch.Martin v. Löwis-1/+1
2006-01-19Check return result from Py_InitModule*(). This API can fail.Neal Norwitz-0/+2
2005-08-02PEP 342 implementation. Per Guido's comments, the generator throw()Phillip J. Eby-3/+1
2005-06-18Add missing INCREF.Neil Schemenauer-0/+1
2004-11-01gc_list_move(): Make this truly equivalent to remove+append. WhileTim Peters-3/+5
2004-11-01gc list function cleanup.Tim Peters-15/+31
2004-10-31handle_weakrefs(): Simplification -- there's no need to make a secondTim Peters-58/+28
2004-10-30SF 1055820: weakref callback vs gc vs threadsTim Peters-106/+183
2004-01-04Convert return value to boolean.Raymond Hettinger-1/+1
2003-11-24Silence GCC warning when asserts are turned off.Guido van Rossum-2/+1
2003-11-20SF bug 839548: Bug in type's GC handling causes segfaults.Tim Peters-13/+129
2003-11-14update_refs(): assert that incoming refcounts aren't 0. The commentTim Peters-0/+19
2003-09-04Bug #794140: cygwin builds do not embedJason Tishler-1/+1
2003-04-17- New C API PyGC_Collect(), same as calling gc.collect().Guido van Rossum-1/+19
2003-04-08s/referrents/referents/g. Gotta love that referrers remains rife with rs.Tim Peters-8/+8
2003-04-08Finished implementing gc.get_referrents(): dealt with error and endTim Peters-6/+15
2003-04-07Comment repair; no semantic changes.Tim Peters-4/+5
2003-04-07Reworked has_finalizer() to use the new _PyObject_Lookup() insteadTim Peters-73/+45
2003-04-06initgc(): Rewrote to use the PyModule_AddXYZ API; cuts code size.Tim Peters-17/+14
2003-04-06handle_finalizers(): Rewrote to call append_objects() and gc_list_merge()Tim Peters-36/+31
2003-04-06Switched from METH_VARARGS to METH_NOARGS for the 7 module functions thatTim Peters-44/+17
2003-04-06Reworked move_finalizer_reachable() to create two distinct lists:Tim Peters-31/+57
2003-04-05move_finalizers(): Rewrote. It's not necessary for this routineTim Peters-29/+20
2003-04-05New comments. Rewrote has_finalizer() as a sequence of ifs instead ofTim Peters-6/+21
2003-04-05Fixed new seemingly random segfaults, by moving the initialization ofTim Peters-8/+11
2003-04-04Fix Tim's boom example.Jeremy Hylton-20/+54
2003-04-03Add get_referrents() helper function.Jeremy Hylton-1/+1
2003-04-03Add get_referrents() helper function.Jeremy Hylton-1/+32
2002-11-09Fix typo.Martin v. Löwis-1/+1
2002-08-09For new-style classes, we can now test for tp_del instead of askingGuido van Rossum-3/+3
2002-07-07Trashcan cleanup: Now that cyclic gc is always there, the trashcanTim Peters-0/+3
2002-07-07Removed WITH_CYCLE_GC #ifdef-ery. Holes:Tim Peters-23/+0
2002-07-04gc_list_move defined but not used.Michael W. Hudson-15/+0
2002-07-02visit_decref(): Added another assert.Tim Peters-0/+1
2002-07-02Finished transitioning to using gc_refs to track gc objects' states.Tim Peters-38/+65
2002-07-02Reserved another gc_refs value for untracked objects. Every live gcTim Peters-6/+16
2002-07-01OK, I couldn't stand it <0.5 wink>: removed all uncertainty about what'sTim Peters-96/+163