cpython/Include
Guido van Rossum 36eef3c173 Changes by Greg Stein (code) and GvR (design).
Add a new member to the PyBufferProcs struct, bf_getcharbuffer.  For
backward compatibility, this member should only be used (this includes
testing for NULL!) when the flag Py_TPFLAGS_HAVE_GETCHARBUFFER is set
in the type structure, below.  Note that if its flag is not set, we
may be looking at an extension module compiled for 1.5.1, which will
have garbage at the bf_getcharbuffer member (because the struct wasn't
as long then).  If the flag is one, the pointer may still be NULL.
The function found at this member is used in a similar manner as
bf_getreadbuffer, but it is known to point to 8-bit character data.
(See discussion in getargs.c checked in later.)

As a general feature for extending the type structure and the various
structures that (may) hang off it in a backwards compatible way, we
rename the tp_xxx4 "spare" slot to tp_flags.  In 1.5.1 and before,
this slot was always zero.  In 1.5.1, it may contain various flags
indicating extra fields that weren't present in 1.5.1.  The only flag
defined so far is for the bf_getcharbuffer member of the PyBufferProcs
struct.

Note that the new spares (tp_xxx5 - tp_xxx8), once they become used,
should also be protected by a flag (or flags) in tp_flags.
1998-10-08 02:10:56 +00:00
..
abstract.h Move an indented #define to column 1. 1998-08-23 22:06:59 +00:00
bitset.h
bufferobject.h Add Greg Stein's buffer object API. 1998-10-07 14:36:10 +00:00
ceval.h Add missing prototypes for PyEval_CallFunction() and PyEval_CallMethod(). 1998-08-08 20:53:36 +00:00
classobject.h Move the definition of PyMethodObject to classobject.h, so it can define 1998-07-10 15:46:33 +00:00
cobject.h
compile.h Changes to support other object types besides strings 1998-10-07 19:42:25 +00:00
complexobject.h
config.h
cStringIO.h Remove the last bits of log from the leading comments. 1997-12-08 15:16:08 +00:00
dictobject.h
errcode.h Add E_INDENT -- new error to check for bad indentation 1998-04-09 21:37:20 +00:00
eval.h
fileobject.h
floatobject.h
frameobject.h
funcobject.h Add macros for direct access to the members of CFunction objects. 1998-07-10 15:47:08 +00:00
graminit.h
grammar.h
import.h Changes for BeOS, QNX and long long, by Chris Herborth. 1998-08-04 22:46:29 +00:00
intobject.h
intrcheck.h
listobject.h Fred's right -- we need PyList_SET_ITEM(). 1998-04-24 18:22:02 +00:00
longintrepr.h
longobject.h Patches from Greg Stein to support 'P' format in struct module's 1998-09-18 14:14:13 +00:00
Makefile
marshal.h
metagrammar.h
methodobject.h Marc-Andre Lemburg's patch to move the typedef for PyCFunctionObject 1998-07-10 15:21:55 +00:00
modsupport.h Define new macro Py_InitModule3(name, methods, doc) which calls 1998-06-27 18:21:59 +00:00
moduleobject.h Add internal routine _PyModule_Clear(), which does approximately what 1998-02-19 20:51:52 +00:00
mymalloc.h
mymath.h Mac CodeWarrior has faulty declaration for hypot, which we hide with a 1998-04-28 16:02:29 +00:00
myproto.h
myselect.h Move the #include of <sys/select> to *after* mytime.h (or <time.h>), 1998-09-28 22:05:22 +00:00
mytime.h
node.h
object.h Changes by Greg Stein (code) and GvR (design). 1998-10-08 02:10:56 +00:00
objimpl.h
opcode.h Get rid of some obsolete opcodes. 1998-07-07 14:58:39 +00:00
osdefs.h
parsetok.h
patchlevel.h Up version to 1.5a2 -- we're close enough (even though I'm still 1998-10-02 03:17:29 +00:00
pgenheaders.h Duplicate the decls for PySys_WriteStd{out,err} here so the VC++ 1998-09-17 14:00:22 +00:00
pydebug.h Added Tabcheck flag. 1998-04-10 17:59:44 +00:00
pyerrors.h New global variables: PyExc_EnvironmentError and PyExc_OSError 1998-07-23 15:57:34 +00:00
pyfpe.h
pystate.h On second though, NEXITFUNCS should be defined in pythonrun.c and not 1998-10-01 16:02:31 +00:00
Python.h Add Greg Stein's buffer object API. 1998-10-07 14:36:10 +00:00
pythonrun.h - Add Py_GetPythonHome() and Py_SetPythonHome(), intended to allow 1998-02-06 22:28:05 +00:00
pythread.h Changes for BeOS, QNX and long long, by Chris Herborth. 1998-08-04 22:46:29 +00:00
rangeobject.h
rename1.h
rename2.h
sliceobject.h
stringobject.h
structmember.h
sysmodule.h Add 1998-05-12 14:58:52 +00:00
token.h
traceback.h
tupleobject.h