--- random.txt 2009-10-07 01:22:26.000000000 -0400 +++ random.edit.txt 2009-10-07 01:30:51.000000000 -0400 @@ -41,6 +41,9 @@ .. versionadded:: 2.4 the :meth:`getrandbits` method. +.. versionchanged:: 2.3 + Substituted MersenneTwister for Wichmann-Hill. + As an example of subclassing, the :mod:`random` module provides the :class:`WichmannHill` class that implements an alternative generator in pure Python. The class provides a backward compatible way to reproduce results from @@ -50,8 +53,8 @@ known to fail some stringent randomness tests. See the references below for a recent variant that repairs these flaws. -.. versionchanged:: 2.3 - Substituted MersenneTwister for Wichmann-Hill. +For non-deterministic random number generation, the subclass +:class:`SystemRandom` implements a generator based upon :func:`os.urandom`. Bookkeeping functions: