]> granicus.if.org Git - python/commit
The list(xrange(sys.maxint / 4)) test blew up on 64-bit platforms.
authorGuido van Rossum <guido@python.org>
Wed, 11 Sep 2002 18:32:30 +0000 (18:32 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 11 Sep 2002 18:32:30 +0000 (18:32 +0000)
commitc8060a68ffc3d9051c3c876c1d21cba8330dbb10
tree0c92af2d2180613d8608808c9b548c00a0f55343
parent4061cbee9c2dd6fd6d186f525af8925a44f4d2fc
The list(xrange(sys.maxint / 4)) test blew up on 64-bit platforms.
Because ob_size is a 32-bit int but sys.maxint is LONG_MAX which is a
64-bit value, there's no way to make this test succeed on a 64-bit
platform.  So just skip it when sys.maxint isn't 0x7fffffff.

Backport candidate.
Lib/test/test_b1.py