Author: guido.van.rossum
Date: Wed Aug  8 00:02:18 2007
New Revision: 56809

Modified:
   python/branches/py3k-struni/Makefile.pre.in
   python/branches/py3k-struni/Objects/longobject.c
Log:
Oops.  I killed a bit too much and not enough when I deleted intobject.c.


Modified: python/branches/py3k-struni/Makefile.pre.in
==============================================================================
--- python/branches/py3k-struni/Makefile.pre.in (original)
+++ python/branches/py3k-struni/Makefile.pre.in Wed Aug  8 00:02:18 2007
@@ -296,7 +296,6 @@
                Objects/floatobject.o \
                Objects/frameobject.o \
                Objects/funcobject.o \
-               Objects/intobject.o \
                Objects/iterobject.o \
                Objects/listobject.o \
                Objects/longobject.o \

Modified: python/branches/py3k-struni/Objects/longobject.c
==============================================================================
--- python/branches/py3k-struni/Objects/longobject.c    (original)
+++ python/branches/py3k-struni/Objects/longobject.c    Wed Aug  8 00:02:18 2007
@@ -7,6 +7,12 @@
 
 #include <ctype.h>
 
+long
+PyInt_GetMax(void)
+{
+       return LONG_MAX;        /* To initialize sys.maxint */
+}
+
 #ifndef NSMALLPOSINTS
 #define NSMALLPOSINTS          257
 #endif
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to