[issue15578] Crash when modifying sys.modules during import

R. David Murray report at bugs.python.org
Tue Aug 7 23:24:31 CEST 2012


R. David Murray added the comment:

If I remember correctly there were non-trivial improvements made to the way modules are finalized in 2.7 compared to earlier versions.  That could be what exposed the bug.  The pre-2.7 code might have been leaving another reference alive because of your more complex real world example, whereas the simplified example doesn't.

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list