[issue23720] __del__() order is broken since 3.4.0
Amaury Forgeot d'Arc
report at bugs.python.org
Fri Mar 20 14:33:34 CET 2015
Amaury Forgeot d'Arc added the comment:
Actually there *is* a cycle:
assert a.vector is a.vector.device.__class__.__del__.__globals__['a'].vector
A workaround is to not store objects with __del__ in module globals...
Or have only one (the Main instance in your case)
----------
nosy: +amaury.forgeotdarc
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23720>
_______________________________________
More information about the Python-bugs-list
mailing list