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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to