cpython/Objects
Marc-André Lemburg ec233e5803 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.
2001-01-06 14:59:58 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
Makefile.in Update dependencies per /F. 2000-11-28 12:09:18 +00:00
abstract.c Massive changes as per PEP 208. Read it for details. 2001-01-04 01:39:06 +00:00
bufferobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
classobject.c Make instances a new style number type. See PEP 208 for details. Instance 2001-01-04 01:43:46 +00:00
cobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
complexobject.c Rationalize use of limits.h, moving the inclusion to Python.h. 2000-09-26 05:46:01 +00:00
dictobject.c dict_update has two boundary conditions: a.update(a) and a.update({}) 2001-01-03 22:34:59 +00:00
fileobject.c Restructured get_line() for clarity and speed. 2001-01-05 14:43:05 +00:00
floatobject.c Make float a new style number type. 2001-01-04 01:44:34 +00:00
frameobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
funcobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
intobject.c Make int a new style number type. Sequence repeat is now done here 2001-01-04 01:45:33 +00:00
listobject.c fix leak 2001-01-03 22:32:16 +00:00
longobject.c Make long a new style number type. Sequence repeat is now done here 2001-01-04 01:46:03 +00:00
methodobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
moduleobject.c Add garbage collection for module objects. Closes patch #102939 and 2001-01-02 15:58:27 +00:00
object.c Changes for PEP 208. PyObject_Compare has been rewritten. Instances no 2001-01-04 01:48:10 +00:00
rangeobject.c Test for NULL returned from PyObject_NEW(). 2000-12-14 14:59:53 +00:00
sliceobject.c Test for NULL returned from PyObject_NEW(). 2000-12-14 15:09:46 +00:00
stringobject.c [ Patch #102852 ] Make % error a bit more informative by indicates the 2000-12-15 13:07:46 +00:00
tupleobject.c Simplify _PyTuple_Resize by not using the tuple free list and dropping 2000-10-05 19:36:49 +00:00
typeobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
unicodectype.c unicode database compression, step 3: 2000-09-25 21:48:13 +00:00
unicodeobject.c This patch adds a new feature to the builtin charmap codec: 2001-01-06 14:59:58 +00:00
unicodetype_db.h Added 38,642 missing characters to the Unicode database (first-last 2000-11-03 20:24:15 +00:00
xxobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00