Message238792
| Author |
serhiy.storchaka |
| Recipients |
Alexey Kazantsev, Vadim Markovtsev, amaury.forgeotdarc, martin.panter, pitrou, serhiy.storchaka, tim.peters |
| Date |
2015年03月21日.11:50:34 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1426938634.48.0.48806962226.issue23720@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> 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. |
|