summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2005-10-06 20:29:57 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2005-10-06 20:29:57 (GMT)
commitd1c1e10f70212464415fdf2ab0bed4b5d32fdf32 (patch)
tree82db5a596a24d75e3caf0cd8054e2a68fe837332 /Misc
parent331649acc7479f6e10cf6f6d01118d90f58ae600 (diff)
downloadcpython-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 11dd40c..4d35774 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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
-----