[issue23720] __del__() order is broken since 3.4.0

Serhiy Storchaka report at bugs.python.org
Sat Mar 21 12:21:17 CET 2015


Serhiy Storchaka added the comment:

There is a cycle for every class with a method.

>>> class A:
...     def __del__(self): pass
... 
>>> A.__del__.__globals__['A']
<class '__main__.A'>

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list