diff options
author | Walter Dörwald <walter@livinglogic.de> | 2005-10-06 20:29:57 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2005-10-06 20:29:57 (GMT) |
commit | d1c1e10f70212464415fdf2ab0bed4b5d32fdf32 (patch) | |
tree | 82db5a596a24d75e3caf0cd8054e2a68fe837332 /Misc | |
parent | 331649acc7479f6e10cf6f6d01118d90f58ae600 (diff) | |
download | cpython-d1c1e10f70212464415fdf2ab0bed4b5d32fdf32.zip cpython-d1c1e10f70212464415fdf2ab0bed4b5d32fdf32.tar.gz cpython-d1c1e10f70212464415fdf2ab0bed4b5d32fdf32.tar.bz2 |
Part of SF patch #1313939: Speedup charmap decoding by extending
PyUnicode_DecodeCharmap() the accept a unicode string as the mapping
argument which is used as a mapping table.
This code isn't used by any of the codecs yet.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -563,6 +563,11 @@ C API - Removed PyRange_New(). +- Patch #1313939: PyUnicode_DecodeCharmap() accepts a unicode string as the + mapping argument now. This string is used as a mapping table. Byte values + greater than the length of the string and 0xFFFE are treated as undefined + mappings. + Tests ----- |