summaryrefslogtreecommitdiffstats
path: root/Lib/encodings/cp500.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/cp500.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/cp500.py')
-rw-r--r--Lib/encodings/cp500.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/encodings/cp500.py b/Lib/encodings/cp500.py
index a975be7..5f61535 100644
--- a/Lib/encodings/cp500.py
+++ b/Lib/encodings/cp500.py
@@ -301,7 +301,6 @@ decoding_table = (
'\xd9' # 0xFD -> LATIN CAPITAL LETTER U WITH GRAVE
'\xda' # 0xFE -> LATIN CAPITAL LETTER U WITH ACUTE
'\x9f' # 0xFF -> CONTROL
- '\ufffe' ## Widen to UCS2 for optimization
)
### Encoding table