diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-06-16 20:48:21 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-06-16 20:48:21 (GMT) |
commit | aaefac76ddac60bb332d28ec79702523b93530ee (patch) | |
tree | 747df780a77a130ac1197464d2e2830f5867ba7f /Lib/encodings/iso8859_1.py | |
parent | c62bd13cb203f27bc11d36903554f20386b5b8c5 (diff) | |
download | cpython-aaefac76ddac60bb332d28ec79702523b93530ee.zip cpython-aaefac76ddac60bb332d28ec79702523b93530ee.tar.gz cpython-aaefac76ddac60bb332d28ec79702523b93530ee.tar.bz2 |
Issue #14874: Restore charmap decoding speed to pre-PEP 393 levels.
Patch by Serhiy Storchaka.
Diffstat (limited to 'Lib/encodings/iso8859_1.py')
-rw-r--r-- | Lib/encodings/iso8859_1.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/encodings/iso8859_1.py b/Lib/encodings/iso8859_1.py index 8cfc01f..d9cc516 100644 --- a/Lib/encodings/iso8859_1.py +++ b/Lib/encodings/iso8859_1.py @@ -301,6 +301,7 @@ decoding_table = ( '\xfd' # 0xFD -> LATIN SMALL LETTER Y WITH ACUTE '\xfe' # 0xFE -> LATIN SMALL LETTER THORN (Icelandic) '\xff' # 0xFF -> LATIN SMALL LETTER Y WITH DIAERESIS + '\ufffe' ## Widen to UCS2 for optimization ) ### Encoding table |