cpython/Include
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
..
abstract.h Remobe beopen/cnri/cwi copyrights, according to CNRI instructions. 2000-08-03 16:42:14 +00:00
bitset.h ANSI-fication and Py_PROTO extermination. 2000-07-08 23:37:28 +00:00
bufferobject.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:20:36 +00:00
ceval.h Use 'void' directly instead of the ANY #define, now that all code is ANSI C. 2000-07-25 12:56:38 +00:00
classobject.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:20:36 +00:00
cobject.h Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
codecs.h Changing the CNRI copyright notice according to CNRI's instructions. 2000-08-03 16:24:25 +00:00
compile.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:20:36 +00:00
complexobject.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:20:36 +00:00
config.h all: 1994 copyright 1994-01-02 00:11:39 +00:00
cStringIO.h Miscelaneous ANSIfications. I'm assuming here 'main' should take (int, 2000-07-22 19:25:51 +00:00
dictobject.h Removed Py_PROTO and switched to ANSI C declarations in the dict 2000-07-04 17:44:48 +00:00
errcode.h Fix incomplete merge of Ping's SyntaxError enhancement patch (my fault). 2000-07-11 19:49:15 +00:00
eval.h ANSI-fication and Py_PROTO extermination. 2000-07-08 23:37:28 +00:00
fileobject.h Added PyObject_AsFileDescriptor, which checks for integer, long integer, 2000-07-13 23:56:54 +00:00
floatobject.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:20:36 +00:00
frameobject.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:20:36 +00:00
funcobject.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:20:36 +00:00
graminit.h Added assert grammar. 1997-04-02 05:24:08 +00:00
grammar.h Remove function-less prototype (old function that was removed ?) that 2000-07-24 10:58:31 +00:00
import.h ANSIfications: fix empty arglists, and remove the checks for 2000-07-22 23:30:03 +00:00
intobject.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:20:36 +00:00
intrcheck.h ANSI-fication and Py_PROTO extermination. 2000-07-08 23:37:28 +00:00
listobject.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:20:36 +00:00
longintrepr.h Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
longobject.h Some cleanup of longs in prepartion for Cray J90 fixes: got 2000-07-07 15:53:28 +00:00
Makefile Added Makefile with clean and clobber targets 1994-01-04 23:24:22 +00:00
marshal.h ANSI-fication and Py_PROTO extermination. 2000-07-08 23:37:28 +00:00
metagrammar.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
methodobject.h Added #define for oldest version of argument calling 2000-08-03 02:28:54 +00:00
modsupport.h ANSIfications: fix empty arglists, and remove the checks for 2000-07-22 23:30:03 +00:00
moduleobject.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:55:06 +00:00
mymalloc.h patch from Vladimir (move Py_Mem* interface to Include/pymem.h) 2000-07-31 22:19:30 +00:00
mymath.h patch from Vladimir (move Py_Mem* interface to Include/pymem.h) 2000-07-31 22:19:30 +00:00
myproto.h patch from Vladimir (move Py_Mem* interface to Include/pymem.h) 2000-07-31 22:19:30 +00:00
myselect.h patch from Vladimir (move Py_Mem* interface to Include/pymem.h) 2000-07-31 22:19:30 +00:00
mytime.h patch from Vladimir (move Py_Mem* interface to Include/pymem.h) 2000-07-31 22:19:30 +00:00
node.h ANSI-fication and Py_PROTO extermination. 2000-07-08 23:37:28 +00:00
object.h Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
objimpl.h patch from Vladimir (move Py_Mem* interface to Include/pymem.h) 2000-07-31 22:19:30 +00:00
opcode.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
osdefs.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
parsetok.h Create two new exceptions: IndentationError and TabError. These are 2000-07-11 17:53:00 +00:00
patchlevel.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
pgenheaders.h patch from Vladimir (move Py_Mem* interface to Include/pymem.h) 2000-07-31 22:19:30 +00:00
pydebug.h ANSI-fication and Py_PROTO extermination. 2000-07-08 23:37:28 +00:00
pyerrors.h ANSI-fication of the sources -- remove Py_PROTO! 2000-07-08 17:25:55 +00:00
pyfpe.h Some patches to Lee Busby's fpectl mods that accidentally didn't make it 1997-10-20 23:50:01 +00:00
pymem.h patch from Vladimir (move Py_Mem* interface to Include/pymem.h) 2000-07-31 22:19:30 +00:00
pyport.h Of course, you meant "#if 0" and not "#ifdef 0". :) 2000-08-01 18:28:44 +00:00
pystate.h ANSI-fication and Py_PROTO extermination. 2000-07-08 23:37:28 +00:00
Python.h patch from Vladimir (move Py_Mem* interface to Include/pymem.h) 2000-07-31 22:19:30 +00:00
pythonrun.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:55:06 +00:00
pythread.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:55:06 +00:00
rangeobject.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:55:06 +00:00
rename1.h __builtins__ mods (and sys_checkinterval for ceval.c) 1995-01-09 17:53:26 +00:00
sliceobject.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:55:06 +00:00
stringobject.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:55:06 +00:00
structmember.h ANSI-fication and Py_PROTO extermination. 2000-07-08 23:37:28 +00:00
sysmodule.h ANSIfications: fix empty arglists, and remove the checks for 2000-07-22 23:30:03 +00:00
token.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:55:06 +00:00
traceback.h ANSI-fication and Py_PROTO extermination. 2000-07-08 23:37:28 +00:00
tupleobject.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:55:06 +00:00
ucnhash.h Fix to use Py_UCS4 2000-07-07 17:45:37 +00:00
unicodeobject.h This patch finalizes the move from UTF-8 to a default encoding in 2000-08-03 18:46:08 +00:00