mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
sys.maxint -> sys.maxsize
This commit is contained in:
parent
8f95cc2965
commit
fc576351c0
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -243,7 +243,7 @@ class PyBuildExt(build_ext):
|
||||||
return
|
return
|
||||||
|
|
||||||
if self.get_platform() == 'darwin' and (
|
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
|
# Don't bother doing an import check when an extension was
|
||||||
# build with an explicit '-arch' flag on OSX. That's currently
|
# build with an explicit '-arch' flag on OSX. That's currently
|
||||||
# only used to build 32-bit only extensions in a 4-way
|
# only used to build 32-bit only extensions in a 4-way
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue