summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2018-12-23-22-27-59.bpo-30561.PSRQ2w.rst
blob: ae99b7cb0ae05917c332b6d4f7f14288a70262bf (plain)
1
2
3
4
random.gammavariate(1.0, beta) now computes the same result as
random.expovariate(1.0 / beta).  This synchonizes the two algorithms and
eliminates some idiosyncrasies in the old implementation.  It does however
produce a difference stream of random variables than it used to.