mirror of
https://github.com/python/cpython.git
synced 2026-06-23 03:23:38 -04:00
af58a6f883
The codecs lookup function now performs only minimal normalization of
the encoding name before passing it to the search functions:
all ASCII letters are converted to lower case, spaces are replaced
with hyphens.
Excessive normalization broke third-party codecs providers, like
python-iconv.
Revert "bpo-37751: Fix codecs.lookup() normalization (GH-15092)"
This reverts commit 20f59fe1f7.
Miscellaneous source files for the main Python shared library