commit | afb8979771e78ef8fe3d610c023463f7ec4f3e1b | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Thu Jun 19 03:23:06 2003 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Thu Jun 19 03:23:06 2003 +0000 |
tree | f00bd7a3376c8a178ddc2920951e664f8b0e5936 | |
parent | 0b1b5adaee0221401da75523d2fe32ed469d17ae [diff] |
randrange(): 2.3 can no longer raises OverflowError on an int() call, so some of this code because useless, and (worse) could return a long instead of int (in Zope that's important, because a long can't be used as a key in an IOBTree or IIBTree).