We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe24088 commit 32980fbCopy full SHA for 32980fb
Doc/whatsnew/3.9.rst
@@ -1114,6 +1114,12 @@ Changes in the Python API
1114
compatible classes that don't inherit from those mentioned types.
1115
(Contributed by Roger Aiudi in :issue:`34775`).
1116
1117
+* :func:`codecs.lookup` now normalizes the encoding name the same way as
1118
+ :func:`encodings.normalize_encoding`, except that :func:`codecs.lookup` also
1119
+ converts the name to lower case. For example, ``"latex+latin1"`` encoding
1120
+ name is now normalized to ``"latex_latin1"``.
1121
+ (Contributed by Jordon Xu in :issue:`37751`.)
1122
+
1123
1124
Changes in the C API
1125
--------------------
0 commit comments