[issue22996] Order of _io objects finalization can lose data in reference cycles
Serhiy Storchaka
report at bugs.python.org
Fri Dec 5 08:54:57 CET 2014
Serhiy Storchaka added the comment:
I think that reference loop breaker should be smarter. If we have a loop
A ⇄ B → C → D
then the order of the finalization of A and B is not defined, but B should be finalized before C and C before D. This should fix unintentional issues with chained io classes because they have no back references.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22996>
_______________________________________
More information about the Python-bugs-list
mailing list