]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF bug #812202: randint is always even
authorRaymond Hettinger <python@rcn.com>
Sun, 5 Oct 2003 23:35:38 +0000 (23:35 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 5 Oct 2003 23:35:38 +0000 (23:35 +0000)
commitc601117f38aa5e1bcaeb81571eb183f97dca09f3
tree279741cbd5ab01d0d03125f229cecf5174dd2224
parentbd79d846f457d6b0de267dcee4159fc7902927e3
SF bug #812202:  randint is always even

* Extend rangrange() to return meaningful results when the range is
  larger than 2**53.  Only applies to the MersenneTwister.  WichmannHill
  was left alone in the absence of a proof showing how multiple calls
  could be combined to produce long bit streams.

* WichmannHill was missing from __all__.
Lib/random.py
Lib/test/test_random.py
Misc/NEWS