[issue25069] Clean issue when generator not exhausted (garbage collector related?)

R. David Murray report at bugs.python.org
Fri Sep 11 14:22:37 CEST 2015


R. David Murray added the comment:

Yes, it is (was) to break otherwise unbreakable GC cycles involving __del__.  Many improvements have been made to these algorithms in python3, such that __del__ methods no longer create unbreakable cycles, although I believe a few cases still remain.  Since some python interpreters do not do GC the way CPython does, it is always best to not depend on GC cleanup but instead to be explicit.

----------
nosy: +r.david.murray
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25069>
_______________________________________


More information about the Python-bugs-list mailing list