cpython/Include
Tim Peters 39dce29365 Fix for http://sourceforge.net/bugs/?func=detailbug&bug_id=111866&group_id=5470.
This was a misleading bug -- the true "bug" was that hash(x) gave an error
return when x is an infinity.  Fixed that.  Added new Py_IS_INFINITY macro to
pyport.h.  Rearranged code to reduce growing duplication in hashing of float and
complex numbers, pushing Trent's earlier stab at that to a logical conclusion.
Fixed exceedingly rare bug where hashing of floats could return -1 even if there
wasn't an error (didn't waste time trying to construct a test case, it was simply
obvious from the code that it *could* happen).  Improved complex hash so that
hash(complex(x, y)) doesn't systematically equal hash(complex(y, x)) anymore.
2000-08-15 03:34:48 +00:00
..
Makefile
Python.h patch from Vladimir (move Py_Mem* interface to Include/pymem.h) 2000-07-31 22:19:30 +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
cStringIO.h Miscelaneous ANSIfications. I'm assuming here 'main' should take (int, 2000-07-22 19:25:51 +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
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 list comprehensions. see 2000-08-12 18:09:51 +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
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 remove all occurence of math.rint() from the sources 2000-08-10 04:23: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 Merge UNPACK_LIST and UNPACK_TUPLE into a single UNPACK_SEQUENCE, since they 2000-08-11 22:15:52 +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 Fix a typo in the PyMem_Resize macro, found by Andrew Kuchling 2000-08-13 11:59:08 +00:00
pyport.h Fix for http://sourceforge.net/bugs/?func=detailbug&bug_id=111866&group_id=5470. 2000-08-15 03:34:48 +00:00
pystate.h ANSI-fication and Py_PROTO extermination. 2000-07-08 23:37:28 +00:00
pythonrun.h Added a prototype for PyOS_CheckStack (within #ifdef USE_STACKCHECK). 2000-08-07 21:00:42 +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
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 Added #fndef's to avoid compiler errors. 2000-08-11 11:43:10 +00:00