[issue29671] Add function to gc module to check if any reference cycles have been reclaimed.
Kevin Mills
report at bugs.python.org
Mon Feb 27 16:00:16 EST 2017
Kevin Mills added the comment:
gc.disable() at the beginning and then analyzing the results of gc.collect() actually does do what I was wanting, thank you.
Reference cycles in and of themselves aren't the problem. It's only a problem if garbage contains reference cycles. In a normal program, a class wouldn't generally ever become garbage, so it wouldn't be a problem.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29671>
_______________________________________
More information about the Python-bugs-list
mailing list