• Raymond Hettinger's avatar
    Backport: · 07c0e677
    Raymond Hettinger yazdı
    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.
    07c0e677
random.py 22.8 KB