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 <rep...@bugs.python.org>
<http://bugs.python.org/issue29671>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to