random.randrange and random.randint mishandle large ints
When a number larger than 2^31 - 1 is passed as the upper limit to random.randrange or random.randint, (with 0 as the lower limit, both implicitly and explicitly), those functions sometimes return a negative number. That's too obvious a "limit" to be coincidental. I've gotten it to consistently fail (more than .1% of the time) by adding just 10,000 to 2^31, but I bet it always breaks past that point and I just haven't let my tests run long enough.
- TypeError: unsupported operand type(s) for +: 'method' and 'method'