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 ncoghlan
Recipients Jack Liu, brett.cannon, eric.snow, josh.r, ncoghlan, serhiy.storchaka
Date 2016-09-21.14:58:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474469904.37.0.720543704688.issue28202@psf.upfronthosting.co.za>
In-reply-to
Content
The most likely relevant difference here is that Python 3.4+ no longer forcibly break cycles through the module globals when the module is deallocated: https://docs.python.org/dev/whatsnew/3.4.html#whatsnew-pep-442

Due to the implicit cycles created between function definitions and their global namespace via the __globals__ attribute on the function, this means that embedding applications will need to explicitly run a GC collection cycle after deleting a module in order to fully finalise it.
History
Date User Action Args
2016-09-21 14:58:24ncoghlansetrecipients: + ncoghlan, brett.cannon, eric.snow, serhiy.storchaka, josh.r, Jack Liu
2016-09-21 14:58:24ncoghlansetmessageid: <1474469904.37.0.720543704688.issue28202@psf.upfronthosting.co.za>
2016-09-21 14:58:24ncoghlanlinkissue28202 messages
2016-09-21 14:58:24ncoghlancreate