This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author josh.r
Recipients gvanrossum, josh.r, levkivskyi, ned.deily, serhiy.storchaka, yselivanov
Date 2016-11-09.18:29:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478716165.41.0.315990762361.issue28649@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy: I think you forgot to make a global instance of the type for your demonstration. You mentioned in msg253899 that the loop is:

global instance -> type -> method -> module globals -> global instance

The example you gave doesn't instantiate class A, and it's the instance of A that doesn't participate in GC and causes the problem, right?
History
Date User Action Args
2016-11-09 18:29:25josh.rsetrecipients: + josh.r, gvanrossum, ned.deily, serhiy.storchaka, yselivanov, levkivskyi
2016-11-09 18:29:25josh.rsetmessageid: <1478716165.41.0.315990762361.issue28649@psf.upfronthosting.co.za>
2016-11-09 18:29:25josh.rlinkissue28649 messages
2016-11-09 18:29:25josh.rcreate