[Python-Dev] Two gcmodule patches
Barry Warsaw
barry at python.org
Tue Mar 7 00:16:24 CET 2006
There are two patches on SF to add a couple of features to the gc
module. Skip wrote one (which I reviewed) and I wrote the other.
Neither is earth shattering, but they're helpful when debugging gc
issues.
Skips adds some timing output when DEBUG_STATS is set:
https://sourceforge.net/tracker/index.php?func=detail&aid=1100294&group_id=5470&atid=305470
Mine adds gc.get_count() -- a parallel to .get_threshold() -- and also
adds an optional 'generation' argument to gc.collect().
https://sourceforge.net/tracker/index.php?func=detail&aid=1443865&group_id=5470&atid=305470
The patch also cleans up a couple of gcc warnings.
Thoughts?
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 309 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20060306/4b629ac6/attachment.pgp
More information about the Python-Dev
mailing list