From a37d4c693a024154093b36a612810c3bd72d9254 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 4 Dec 2007 23:02:19 +0000 Subject: Removed PyInt_GetMax and sys.maxint I replaced sys.maxint with sys.maxsize in Lib/*.py. Does anybody see a problem with the change on Win 64bit platforms? Win 64's long is just 32bit but the sys.maxsize is now 2**63-1 on every 64bit platform. Also added docs for sys.maxsize. --- Objects/longobject.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Objects/longobject.c') diff --git a/Objects/longobject.c b/Objects/longobject.c index cf7cb4713b..1df7c5ddfc 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -9,12 +9,6 @@ #include -long -PyInt_GetMax(void) -{ - return LONG_MAX; /* To initialize sys.maxint */ -} - #ifndef NSMALLPOSINTS #define NSMALLPOSINTS 257 #endif -- cgit v1.2.1