]> granicus.if.org Git - python/commit
bpo-37751: Fix codecs.lookup() normalization (GH-15092)
authorJordon Xu <46997731+qigangxu@users.noreply.github.com>
Wed, 21 Aug 2019 13:26:20 +0000 (21:26 +0800)
committerVictor Stinner <vstinner@redhat.com>
Wed, 21 Aug 2019 13:26:20 +0000 (14:26 +0100)
commit20f59fe1f7748ae899aceee4cb560e5e1f528a1f
tree388519ee0b0caee244104278660644dbf1598b21
parent87bc3b7a0b0c41ea5da2aa137c4145f437a1c9fd
bpo-37751: Fix codecs.lookup() normalization (GH-15092)

Fix codecs.lookup() to normalize the encoding name the same way
than encodings.normalize_encoding(), except that codecs.lookup()
also converts the name to lower case.
Misc/NEWS.d/next/Core and Builtins/2019-08-20-04-36-37.bpo-37751.CSFzUd.rst [new file with mode: 0644]
Python/codecs.c