diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-08-16 03:41:39 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-08-16 03:41:39 (GMT) |
commit | 9146f27b7799dab231083f194a14c6157b57549f (patch) | |
tree | f0d3545bfecf2fa3657b05f747934eed323ba392 /Objects | |
parent | 012c0a393a27135860e065d490199d16b38a3739 (diff) | |
download | cpython-9146f27b7799dab231083f194a14c6157b57549f.zip cpython-9146f27b7799dab231083f194a14c6157b57549f.tar.gz cpython-9146f27b7799dab231083f194a14c6157b57549f.tar.bz2 |
SF bug 594996: OverflowError in random.randrange
Loosened the acceptable 'start' and 'stop' arguments so that any
Python (bounded) ints can be used. So, e.g., randrange(-sys.maxint-1,
sys.maxint) no longer blows up.
Diffstat (limited to 'Objects')
0 files changed, 0 insertions, 0 deletions