mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Issue #14874: Restore charmap decoding speed to pre-PEP 393 levels.
Patch by Serhiy Storchaka.
This commit is contained in:
parent
c62bd13cb2
commit
aaefac76dd
11 changed files with 1123 additions and 431 deletions
|
@ -301,6 +301,7 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue