Author: christian.heimes
Date: Sun Dec  2 23:43:00 2007
New Revision: 59282

Modified:
   python/branches/py3k/Parser/asdl_c.py
Log:
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.

Modified: python/branches/py3k/Parser/asdl_c.py
==============================================================================
--- python/branches/py3k/Parser/asdl_c.py       (original)
+++ python/branches/py3k/Parser/asdl_c.py       Sun Dec  2 23:43:00 2007
@@ -469,7 +469,7 @@
 
 static PyObject* ast2obj_int(long b)
 {
-    return PyInt_FromLong(b);
+    return PyLong_FromLong(b);
 }
 """, 0, reflow=False)
 
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to