[Python-3000-checkins] r64995 - python/branches/py3k/setup.py

benjamin.peterson python-3000-checkins at python.org
Wed Jul 16 04:39:02 CEST 2008


Author: benjamin.peterson
Date: Wed Jul 16 04:39:02 2008
New Revision: 64995

Log:
sys.maxint -> sys.maxsize

Modified:
   python/branches/py3k/setup.py

Modified: python/branches/py3k/setup.py
==============================================================================
--- python/branches/py3k/setup.py	(original)
+++ python/branches/py3k/setup.py	Wed Jul 16 04:39:02 2008
@@ -243,7 +243,7 @@
             return
 
         if self.get_platform() == 'darwin' and (
-                sys.maxint > 2**32 and '-arch' in ext.extra_link_args):
+                sys.maxsize > 2**32 and '-arch' in ext.extra_link_args):
             # Don't bother doing an import check when an extension was
             # build with an explicit '-arch' flag on OSX. That's currently
             # only used to build 32-bit only extensions in a 4-way


More information about the Python-3000-checkins mailing list