diff options
author | Guido van Rossum <guido@python.org> | 2002-09-11 18:32:30 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-09-11 18:32:30 (GMT) |
commit | c8060a68ffc3d9051c3c876c1d21cba8330dbb10 (patch) | |
tree | 0c92af2d2180613d8608808c9b548c00a0f55343 /Python/marshal.c | |
parent | 4061cbee9c2dd6fd6d186f525af8925a44f4d2fc (diff) | |
download | cpython-c8060a68ffc3d9051c3c876c1d21cba8330dbb10.zip cpython-c8060a68ffc3d9051c3c876c1d21cba8330dbb10.tar.gz cpython-c8060a68ffc3d9051c3c876c1d21cba8330dbb10.tar.bz2 |
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.
Diffstat (limited to 'Python/marshal.c')
0 files changed, 0 insertions, 0 deletions