summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2018-04-10-14-50-30.bpo-33144.iZr4et.rst
blob: eb6b9b7fe08d669170fa47a2bf5ba4509950a3af (plain)
1
2
3
4
``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.