From: Benjamin Peterson Date: Wed, 16 Jul 2008 02:39:02 +0000 (+0000) Subject: sys.maxint -> sys.maxsize X-Git-Tag: v3.0b2~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fc576351c0dcfd419349ac6d6201c3ccd6338247;p=python sys.maxint -> sys.maxsize --- diff --git a/setup.py b/setup.py index 0519bf77bc..90fe68f447 100644 --- a/setup.py +++ b/setup.py @@ -243,7 +243,7 @@ class PyBuildExt(build_ext): 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