mirror of https://github.com/python/cpython
5 lines
302 B
ReStructuredText
5 lines
302 B
ReStructuredText
``random.Random()`` and its subclassing mechanism got optimized to check only
|
|
once at class/subclass instantiation time whether its ``getrandbits()`` method
|
|
can be relied on by other methods, including ``randrange()``, for the
|
|
generation of arbitrarily large random integers. Patch by Wolfgang Maier.
|