[issue4236] Crash when importing builtin module during interpreter shutdown

R. David Murray report at bugs.python.org
Tue Dec 14 18:50:34 CET 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

Brett applied his doc patch in r69092.  Attached is a patch that combines Simon's patch with Martin's test program turned into a unit test.  I confirm that the test suite passes with the patch applied (and fails with just the test applied).

>From the text of the original error message, I wonder if there is some way to trigger this error at interpreter startup, and if so whether or not that is tested by the test suite.

Otherwise, is there any reason not to apply this patch?

----------
nosy: +r.david.murray
stage: needs patch -> patch review
Added file: http://bugs.python.org/file20041/check-import-machinery-only-with-test.diff

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


More information about the Python-bugs-list mailing list