[issue22166] test_codecs leaks references
STINNER Victor
report at bugs.python.org
Tue Sep 2 02:36:17 CEST 2014
STINNER Victor added the comment:
ExceptionChainingTest creates a random codec name. If you change the codec name to a fixed string like "xxx", ExceptionChainingTest.test_raise_by_type() doesn't leak anymore (when test_codecs_fix1.patch is applied), but other tests start to fail.
We should maybe enhance the codecs API to be able to unregister a codec?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22166>
_______________________________________
More information about the Python-bugs-list
mailing list