Serhiy Storchaka added the comment:

Updated patch for the gc module is synchronized with current sources and 
addresses Martin's comments.

The only problem with this patch is that it exposes the default value for 
gc.collect() argument as constant 2 in Python instead of actual 
NUM_GENERATIONS-1. The latter value can't be exposed in Python.

On other side it is 2 in the documentation, and it is not so easy to change the 
value of NUM_GENERATIONS.

----------
Added file: http://bugs.python.org/file46495/clinic_gc_v5.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20185>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to