summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2001-01-06 14:59:58 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2001-01-06 14:59:58 (GMT)
commitec233e58038b222ec4cedc07ec46bed1f40468d7 (patch)
tree0aab9637ac294ad74eb9f9aada4633de3096dcef /README
parent2b287763695c11594bb26e8d49d030855e4663fe (diff)
downloadcpython-ec233e58038b222ec4cedc07ec46bed1f40468d7.zip
cpython-ec233e58038b222ec4cedc07ec46bed1f40468d7.tar.gz
cpython-ec233e58038b222ec4cedc07ec46bed1f40468d7.tar.bz2
This patch adds a new feature to the builtin charmap codec:
The mapping dictionaries can now contain 1-n mappings, meaning that character ordinals may be mapped to strings or Unicode object, e.g. 0x0078 ('x') -> u"abc", causing the ordinal to be replaced by the complete string or Unicode object instead of just one character. Another feature introduced by the patch is that of mapping oridnals to the emtpy string. This allows removing characters. The patch is different from patch #103100 in that it does not cause a performance hit for the normal use case of 1-1 mappings. Written by Marc-Andre Lemburg, copyright assigned to Guido van Rossum.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions