[Python-3000-checkins] r56809 - in python/branches/py3k-struni: Makefile.pre.in Objects/longobject.c
guido.van.rossum
python-3000-checkins at python.org
Wed Aug 8 00:02:19 CEST 2007
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
More information about the Python-3000-checkins
mailing list