cpython/Include
Tim Peters 7d3a511a40 Cray J90 fixes for long ints.
This was a convenient excuse to create the pyport.h file recently
discussed!
Please use new Py_ARITHMETIC_RIGHT_SHIFT when right-shifting a
signed int and you *need* sign-extension.  This is #define'd in
pyport.h, keying off new config symbol SIGNED_RIGHT_SHIFT_ZERO_FILLS.
If you're running on a platform that needs that symbol #define'd,
the std tests never would have worked for you (in particular,
at least test_long would have failed).
The autoconfig stuff got added to Python after my Unix days, so
I don't know how that works.  Would someone please look into doing
& testing an auto-config of the SIGNED_RIGHT_SHIFT_ZERO_FILLS
symbol?  It needs to be defined if & only if, e.g., (-1) >> 3 is
not -1.
2000-07-08 04:17:21 +00:00
..
Makefile Added Makefile with clean and clobber targets 1994-01-04 23:24:22 +00:00
Python.h Cray J90 fixes for long ints. 2000-07-08 04:17:21 +00:00
abstract.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
bitset.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
bufferobject.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
cStringIO.h There's a macro PycString_IMPORT which the documentation listed as 1999-01-25 21:36:13 +00:00
ceval.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
classobject.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
cobject.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
codecs.h M.-A. Lemburg <mal@lemburg.com>: 2000-05-09 19:51:10 +00:00
compile.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
complexobject.h Add DL_IMPORT(returntype) for all officially exported functions. 1998-12-04 18:48:25 +00:00
config.h all: 1994 copyright 1994-01-02 00:11:39 +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 Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
eval.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
fileobject.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
floatobject.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
frameobject.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
funcobject.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
graminit.h Added assert grammar. 1997-04-02 05:24:08 +00:00
grammar.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
import.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
intobject.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
intrcheck.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
listobject.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
longintrepr.h Cray J90 fixes for long ints. 2000-07-08 04:17:21 +00:00
longobject.h Some cleanup of longs in prepartion for Cray J90 fixes: got 2000-07-07 15:53:28 +00:00
marshal.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
metagrammar.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
methodobject.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
modsupport.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
moduleobject.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
mymalloc.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
mymath.h Added math.rint() -- round according to current IEEE754 mode 2000-05-11 18:19:42 +00:00
myproto.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
myselect.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
mytime.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
node.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
object.h One of the new prototypes was missing the "void" args. 2000-07-08 00:46:19 +00:00
objimpl.h Neil Schemenauer: small fixes for GC 2000-07-01 01:00:38 +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 Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
patchlevel.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
pgenheaders.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
pydebug.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
pyerrors.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +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
pyport.h Cray J90 fixes for long ints. 2000-07-08 04:17:21 +00:00
pystate.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
pythonrun.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
pythread.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
rangeobject.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
rename1.h __builtins__ mods (and sys_checkinterval for ceval.c) 1995-01-09 17:53:26 +00:00
sliceobject.h Add DL_IMPORT(returntype) for all officially exported functions. 1998-12-04 18:48:25 +00:00
stringobject.h Added prototypes for the new codec APIs for strings. These APIs 2000-07-06 11:25:40 +00:00
structmember.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
sysmodule.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
token.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
traceback.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
tupleobject.h Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
ucnhash.h Fix to use Py_UCS4 2000-07-07 17:45:37 +00:00
unicodeobject.h Added new API PyUnicode_FromEncodedObject() which supports decoding 2000-07-07 13:46:42 +00:00