Marc-Andre Lemburg <m...@egenix.com> added the comment:

Just to clarify: the change in the C implementation was the breaking change. 
The patch just restores the previous behavior: 
https://github.com/python/cpython/blob/master/Lib/encodings/__init__.py#L43

Please note that external codec packages should not rely on the semantics of 
the Python stdlib encodings package's search function. They should really 
register their own search function: 
https://docs.python.org/3.9/library/codecs.html#codecs.register

It's good practice to always only use ASCII lower case chars and the underscore 
for codec names.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37751>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to