]> granicus.if.org Git - python/commit
Normalize the encoding names for Latin-1 and UTF-8 to
authorMarc-André Lemburg <mal@egenix.com>
Fri, 25 Feb 2011 15:42:01 +0000 (15:42 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Fri, 25 Feb 2011 15:42:01 +0000 (15:42 +0000)
commit8f36af7a4c9409a673412e4bdfbad76d700abc3a
tree1b61599a07604a96539e98098b055c577cd7e6a8
parenta391b11320f729f6eec6c772c00b3e62c2746eaf
Normalize the encoding names for Latin-1 and UTF-8 to
'latin-1' and 'utf-8'.

These are optimized in the Python Unicode implementation
to result in more direct processing, bypassing the codec
registry.

Also see issue11303.
32 files changed:
Lib/asynchat.py
Lib/distutils/command/bdist_wininst.py
Lib/ftplib.py
Lib/http/client.py
Lib/http/server.py
Lib/multiprocessing/connection.py
Lib/random.py
Lib/smtpd.py
Lib/sqlite3/test/types.py
Lib/sre_parse.py
Lib/tarfile.py
Lib/test/test_argparse.py
Lib/test/test_bigmem.py
Lib/test/test_bytes.py
Lib/test/test_cmd_line.py
Lib/test/test_codecs.py
Lib/test/test_io.py
Lib/test/test_mailbox.py
Lib/test/test_nntplib.py
Lib/test/test_pep3120.py
Lib/test/test_sax.py
Lib/test/test_shelve.py
Lib/test/test_socket.py
Lib/test/test_strlit.py
Lib/test/test_subprocess.py
Lib/test/test_tarfile.py
Lib/test/test_unicode.py
Lib/test/test_urllib.py
Lib/test/test_urllib2.py
Lib/test/test_uuid.py
Lib/test/test_xml_etree.py
Lib/urllib/request.py