cpython/Objects
Marc-André Lemburg bff879cabb This patch finalizes the move from UTF-8 to a default encoding in
the Python Unicode implementation.

The internal buffer used for implementing the buffer protocol
is renamed to defenc to make this change visible. It now holds the
default encoded version of the Unicode object and is calculated
on demand (NULL otherwise).

Since the default encoding defaults to ASCII, this will mean that
Unicode objects which hold non-ASCII characters will no longer
work on C APIs using the "s" or "t" parser markers. C APIs must now
explicitly provide Unicode support via the "u", "U" or "es"/"es#"
parser markers in order to work with non-ASCII Unicode strings.

(Note: this patch will also have to be applied to the 1.6 branch
 of the CVS tree.)
2000-08-03 18:46:08 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
Makefile.in Marc-AAndre Lemburg: add new unicode files 2000-03-10 22:55:40 +00:00
abstract.c Remobe beopen/cnri/cwi copyrights, according to CNRI instructions. 2000-08-03 16:42:14 +00:00
bufferobject.c ANSI-fication of the sources. 2000-07-09 04:06:11 +00:00
classobject.c ANSIfy functions that were hiding inside a macro. 2000-07-23 22:09:59 +00:00
cobject.c ANSI-fication of the source. 2000-07-09 04:14:42 +00:00
complexobject.c merge Include/my*.h into Include/pyport.h 2000-07-31 15:28:04 +00:00
dictobject.c Miscelaneous ANSIfications. I'm assuming here 'main' should take (int, 2000-07-22 19:25:51 +00:00
fileobject.c Added PyObject_AsFileDescriptor, which checks for integer, long integer, 2000-07-13 23:56:54 +00:00
floatobject.c merge Include/my*.h into Include/pyport.h 2000-07-31 15:28:04 +00:00
frameobject.c ANSI-fication of the sources. 2000-07-09 05:40:56 +00:00
funcobject.c ANSI-fication of the sources. 2000-07-09 06:03:25 +00:00
intobject.c Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
listobject.c Use 'void' directly instead of the ANY #define, now that all code is ANSI C. 2000-07-25 12:56:38 +00:00
longobject.c merge Include/my*.h into Include/pyport.h 2000-07-31 15:28:04 +00:00
methodobject.c ANSI-fication of the sources. 2000-07-09 06:03:25 +00:00
moduleobject.c ANSI-fication of the sources. 2000-07-09 06:03:25 +00:00
object.c merge Include/my*.h into Include/pyport.h 2000-07-31 15:28:04 +00:00
rangeobject.c Remove the tp_print handler. 2000-08-03 17:43:02 +00:00
sliceobject.c ANSI-fication of the sources. 2000-07-09 06:21:27 +00:00
stringobject.c merge Include/my*.h into Include/pyport.h 2000-07-31 15:28:04 +00:00
tupleobject.c ANSI-fication of the sources. 2000-07-09 07:04:36 +00:00
typeobject.c ANSI-fication of the sources. 2000-07-09 06:21:27 +00:00
unicodectype.c Changing the CNRI copyright notice according to CNRI's instructions. 2000-08-03 16:24:25 +00:00
unicodeobject.c This patch finalizes the move from UTF-8 to a default encoding in 2000-08-03 18:46:08 +00:00
xxobject.c ANSI-fication of the sources. 2000-07-09 07:04:36 +00:00