commit | c8060a68ffc3d9051c3c876c1d21cba8330dbb10 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Sep 11 18:32:30 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Sep 11 18:32:30 2002 +0000 |
tree | 0c92af2d2180613d8608808c9b548c00a0f55343 | |
parent | 4061cbee9c2dd6fd6d186f525af8925a44f4d2fc [diff] |
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.