bpo-37751: Fix normalizestring() with hyphens and spaces converted to underscores by fusioncid · Pull Request #15092 · python/cpython
fusioncid
changed the title
bpo-37751: Fix normalizestring() with hyphens and spaces converted to…
bpo-37751: Fix normalizestring() with hyphens and spaces converted to underscores
I think use a regular exception is better. Thanks. Co-Authored-By: Victor Stinner <vstinner@redhat.com>
lisroach pushed a commit to lisroach/cpython that referenced this pull request
DinoV pushed a commit to DinoV/cpython that referenced this pull request
websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request
eight04 added a commit to eight04/pyUAO that referenced this pull request
* Fix running with Python 3.9 Since Python 3.9 [1], codecs names are normalized in a different way. [1] python/cpython#15092 * Add: github action, bump dependencies Co-authored-by: eight04 <eight04@gmail.com>
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request
The codecs lookup function now performs only minimal normalization of the encoding name before passing it to the serach 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 (pythonGH-15092)" This reverts commit 20f59fe.
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request
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 (pythonGH-15092)" This reverts commit 20f59fe.
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request
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 (pythonGH-15092)" This reverts commit 20f59fe.
serhiy-storchaka added a commit that referenced this pull request
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 20f59fe.
lkollar pushed a commit to lkollar/cpython that referenced this pull request
…H-137167) 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 (pythonGH-15092)" This reverts commit 20f59fe.