]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #18609: Add a fast-path for "iso8859-1" encoding
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 29 Oct 2013 10:34:05 +0000 (11:34 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 29 Oct 2013 10:34:05 +0000 (11:34 +0100)
commitfa3ba4c3bc31e8d1b78d0f8f97b1b6140ffcbaef
treececbddba48ec67b9139a760fd3b161f9d495b759
parentbebba5059c67919b2099b4ac089401a823230bab
Issue #18609: Add a fast-path for "iso8859-1" encoding

On AIX, the locale encoding may be "iso8859-1", which was not a known syntax of
the legacy ISO 8859-1 encoding.

Using a C codec instead of a Python codec is faster but also avoids tricky
issues during Python startup or complex code.
Objects/unicodeobject.c