[Python-checkins] CVS: python/dist/src/Lib/test/output test_charmapcodec,NONE,1.1

M.-A. Lemburg python-dev@python.org
Sat, 06 Jan 2001 07:09:59 -0800


Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory usw-pr-cvs1:/tmp/cvs-serv1958/Lib/test/output

Added Files:
	test_charmapcodec 
Log Message:
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.



--- NEW FILE: test_charmapcodec ---
test_charmapcodec