SIGN IN SIGN UP

SF bug #812202: randint is always even

* Added C coded getrandbits(k) method that runs in linear time.
* Call the new method from randrange() for ranges >= 2**53.
* Adds a warning for generators not defining getrandbits() whenever they
  have a call to randrange() with too large of a population.
R
Raymond Hettinger committed
2f726e9093381572b21edbfc42659ea89fbdf686
Parent: 5c68ef0