summaryrefslogtreecommitdiffstats
path: root/Lib/encodings/iso8859_1.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-04-09 19:53:09 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-04-09 19:53:09 (GMT)
commit03c3e35d42a2f9855fca4beb89e5cbbefe2d9c21 (patch)
tree6c3edc03a6edfbe04c6f1c7733f3a8882d1da8c8 /Lib/encodings/iso8859_1.py
parent0f344b6e0526245249b80219e6001616307d2b35 (diff)
downloadcpython-03c3e35d42a2f9855fca4beb89e5cbbefe2d9c21.zip
cpython-03c3e35d42a2f9855fca4beb89e5cbbefe2d9c21.tar.gz
cpython-03c3e35d42a2f9855fca4beb89e5cbbefe2d9c21.tar.bz2
Add fast-path in PyUnicode_DecodeCharmap() for pure 8 bit encodings:
cp037, cp500 and iso8859_1 codecs
Diffstat (limited to 'Lib/encodings/iso8859_1.py')
-rw-r--r--Lib/encodings/iso8859_1.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/encodings/iso8859_1.py b/Lib/encodings/iso8859_1.py
index d9cc516..8cfc01f 100644
--- a/Lib/encodings/iso8859_1.py
+++ b/Lib/encodings/iso8859_1.py
@@ -301,7 +301,6 @@ 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