[issue41842] Add codecs.unregister() to unregister a codec search function

STINNER Victor report at bugs.python.org
Mon Sep 28 18:27:25 EDT 2020


STINNER Victor <vstinner at python.org> added the comment:

codecs.unregister() is needed to write unit tests: see PR 19069 of bpo-39337.

I don't see a strong need to add a new codecs.unregister_error() function, excpet for completeness. I don't think that completeness is enough to justify to add the function, but feel free to open a new issue if you consider that it's really needed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41842>
_______________________________________


More information about the Python-bugs-list mailing list