Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make more things internal to this file. Remove | Neil Schemenauer | 2001-08-30 | 1 | -93/+148 |
| | | | | | | | | | visit_finalizer_reachable since it's the same as visit_reachable. Rename visit_reachable to visit_move. Objects can now have the GC type flag set, reachable by tp_traverse and not be in a GC linked list. This should make the collector more robust and easier to use by extension module writers. Add memory management functions for container objects (new, del, resize). | ||||
* | Remove "referents" structure (it's not needed). Check return value | Neil Schemenauer | 2001-08-10 | 1 | -20/+17 |
| | | | | of PyList_Append. | ||||
* | Add get_objects function. This is a low level function (like | Neil Schemenauer | 2001-08-09 | 1 | -0/+38 |
| | | | | | get_referents, and is not yet documented in the library manual). Suggestions for a better name welcome. | ||||
* | Add get_referents function. Closes SF patch #402925. | Neil Schemenauer | 2001-08-09 | 1 | -0/+50 |
| | |||||
* | - update Neil's email address | Neil Schemenauer | 2000-10-04 | 1 | -6/+2 |
| | |||||
* | - do not start collection during processing of an exception | Neil Schemenauer | 2000-10-04 | 1 | -1/+5 |
| | |||||
* | Fix some long/"l" int/"i" mismatches. Fixes bug #113779. | Neil Schemenauer | 2000-09-22 | 1 | -2/+2 |
| | |||||
* | - Add DEBUG_SAVEALL option. When enabled all garbage objects found by the | Neil Schemenauer | 2000-09-22 | 1 | -27/+39 |
| | | | | | | | collector will be saved in gc.garbage. This is useful for debugging a program that creates reference cycles. - Fix else statements in gcmodule.c to conform to Python coding standards. | ||||
* | compromise value for threshold0: not too high, not too low | Jeremy Hylton | 2000-09-05 | 1 | -1/+1 |
| | |||||
* | set the default threshold much higher | Jeremy Hylton | 2000-09-01 | 1 | -1/+1 |
| | | | | we don't need to run gc frequently | ||||
* | refactor __del__ exception handler into PyErr_WriteUnraisable | Jeremy Hylton | 2000-09-01 | 1 | -1/+10 |
| | | | | | add sanity check to gc: if an exception occurs during GC, call PyErr_WriteUnraisable and then call Py_FatalEror. | ||||
* | apply patch #101362 by Vladimir Marangozov | Jeremy Hylton | 2000-08-31 | 1 | -33/+24 |
| | | | | also initial static debug variable to 0 | ||||
* | Neil Schemenauer: GC enable(), disable(), isenabled() interface. | Vladimir Marangozov | 2000-08-06 | 1 | -16/+76 |
| | | | | | | Small stylistic changes by VM: - is_enabled() -> isenabled() - static ... Py_<func> -> static ... gc_<func> | ||||
* | debug_instance(): Use the same %p format directive as with | Barry Warsaw | 2000-07-12 | 1 | -6/+3 |
| | | | | | | debug_cycle(), and don't cast the pointer to a long. Neither needs the literal `0x' prefix as %p automatically inserts this (on Linux at least). | ||||
* | Always use the :funcname part of the format specifier for PyArg_ParseTuple() | Fred Drake | 2000-07-12 | 1 | -5/+5 |
| | | | | so we get better error messages. | ||||
* | Neil Schemenauer <nascheme@enme.ucalgary.ca>: | Fred Drake | 2000-07-11 | 1 | -4/+4 |
| | | | | | | | Change a cast, intialize a local, and make some sprintf() format strings type-appropriate (add the "l" to "%d"). Closes SourceForge patch #100737. | ||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -15/+5 |
| | |||||
* | Initialize the return value in collect_generations() since it is updated | Vladimir Marangozov | 2000-07-10 | 1 | -1/+1 |
| | | | | conditionally in the code. | ||||
* | final patches from Neil Schemenauer for garbage collection | Jeremy Hylton | 2000-06-30 | 1 | -0/+679 |