From: Christian Heimes Date: Sun, 2 Dec 2007 22:43:00 +0000 (+0000) Subject: Fixed a problem found by Bill Janssen on Mac OS X X-Git-Tag: v3.0a2~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2b1c592d22c16f3cb810625168ed1ce0c806d004;p=thirdparty%2FPython%2Fcpython.git Fixed a problem found by Bill Janssen on Mac OS X There was one occurence of PyInt_FromLong left in Parser/asdl_c.py. The files creates some C code. --- diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index 24b732c23bf1..15a752fcdbbb 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -469,7 +469,7 @@ static PyObject* ast2obj_object(void *o) static PyObject* ast2obj_int(long b) { - return PyInt_FromLong(b); + return PyLong_FromLong(b); } """, 0, reflow=False)