[issue6551] test_codecs fails when ran after test_zipimport and test_mailbox.

2009-11-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks. The patch is now committed in py3k and 3.1. -- resolution: accepted -> fixed status: open -> closed ___ Python tracker ___ _

[issue6551] test_codecs fails when ran after test_zipimport and test_mailbox.

2009-11-12 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: The patch looks good to me. -- resolution: -> accepted ___ Python tracker ___ ___ Python-bugs

[issue6551] test_codecs fails when ran after test_zipimport and test_mailbox.

2009-11-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- keywords: +patch Added file: http://bugs.python.org/file15318/modcleanup.patch ___ Python tracker ___ __

[issue6551] test_codecs fails when ran after test_zipimport and test_mailbox.

2009-11-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. -- nosy: +pitrou stage: needs patch -> patch review ___ Python tracker ___ ___ Pyth

[issue6551] test_codecs fails when ran after test_zipimport and test_mailbox.

2009-07-23 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: A simple solution could be to import encodings.ascii in regrtest.py, before it saves the list of modules. Or, since codecs are stored in a global cache dictionary that cannot be cleared (interp->codec_search_cache), avoid unloading modules from the encodi

[issue6551] test_codecs fails when ran after test_zipimport and test_mailbox.

2009-07-23 Thread R. David Murray
R. David Murray added the comment: 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

[issue6551] test_codecs fails when ran after test_zipimport and test_mailbox.

2009-07-22 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Added file: http://bugs.python.org/file14548/testcase2.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue6551] test_codecs fails when ran after test_zipimport and test_mailbox.

2009-07-22 Thread Alexandre Vassalotti
New submission from Alexandre Vassalotti : For some yet unknown reason, test_codecs fails when it is run after test_zipimport and subsequently test_mailbox: ./python Lib/test/regrtest.py -w test_zipimport test_mailbox test_codecs [SNIP] ===

[issue6551] test_codecs fails when ran after test_zipimport and test_mailbox.

2009-07-22 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Added file: http://bugs.python.org/file14547/testcase1.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue6551] test_codecs fails when ran after test_zipimport and test_mailbox.

2009-07-22 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Added file: http://bugs.python.org/file14550/testcase4.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue6551] test_codecs fails when ran after test_zipimport and test_mailbox.

2009-07-22 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Added file: http://bugs.python.org/file14549/testcase3.py ___ Python tracker ___ ___ Python-bugs-list mailing