[issue3625] test issues on 64bit windows
Antoine Pitrou
report at bugs.python.org
Thu Aug 21 15:29:30 CEST 2008
Antoine Pitrou <pitrou at free.fr> added the comment:
Mark, that check looks fragile:
+IS32BIT = sys.maxint == 0x7fffffff and "64 bit" not in sys.version
Why don't you check for sys.maxsize instead? By construction,
sys.maxsize should give you the pointer width (minus the sign bit ;-)).
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3625>
_______________________________________
More information about the Python-bugs-list
mailing list