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 r.david.murray
Recipients alexandre.vassalotti, r.david.murray
Date 2009-07-23.13:35:53
SpamBayes Score 1.13375e-05
Marked as misclassified No
Message-id <>
When the zipimport test is run, encodings.ascii is imported.  Then it is
removed from sys.modules by the test cleanup.  When the mailbox test is
run, it is reimported.  However, when the codecs test tries to use it,
the encodings.ascii module has been finalized (as if during interpreter
shutdown) by having all its globals set to None.  Thus the test failure.

I haven't figured out why this is happening yet, but it seems likely
that the issue is either with zipimport or with the zipimport test
cleanup.  I'm guessing that anything that triggers encodings.ascii to be
loaded before test_codecs tries to use it will trigger the bug, but I
haven't tested that theory yet.
Date User Action Args
2009-07-23 13:35:55r.david.murraysetrecipients: + r.david.murray, alexandre.vassalotti
2009-07-23 13:35:55r.david.murraysetmessageid: <>
2009-07-23 13:35:54r.david.murraylinkissue6551 messages
2009-07-23 13:35:54r.david.murraycreate