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

Amaury Forgeot d'Arc report at bugs.python.org
Thu Jul 23 15:59:28 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> 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
encodings package.

----------
nosy: +amaury.forgeotdarc

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


More information about the Python-bugs-list mailing list