Message238792
> There is a cycle involving the class object, but I don’t think there is a cycle involving the instance objects this time.
It is.
>>> a = A()
>>> a.__class__.__del__.__globals__['a']
<__main__.A object at 0xb702230c>
And all objects referenced from user class or module level instance of user class are in a cycle. This problem can cause issues such as issue17852. |
|
Date |
User |
Action |
Args |
2015-03-21 11:50:34 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, amaury.forgeotdarc, pitrou, martin.panter, Vadim Markovtsev, Alexey Kazantsev |
2015-03-21 11:50:34 | serhiy.storchaka | set | messageid: <1426938634.48.0.48806962226.issue23720@psf.upfronthosting.co.za> |
2015-03-21 11:50:34 | serhiy.storchaka | link | issue23720 messages |
2015-03-21 11:50:34 | serhiy.storchaka | create | |
|