• Raymond Hettinger's avatar
    Whitespace normalization and backport: · 070884c7
    Raymond Hettinger yazdı
    random.gauss() uses a piece of hidden state used by nothing else,
    and the .seed() and .whseed() methods failed to reset it.  In other
    words, setting the seed didn't completely determine the sequence of
    results produced by random.gauss().  It does now.  Programs repeatedly
    mixing calls to a seed method with calls to gauss() may see different
    results now.
    
    Bugfix candidate (random.gauss() has always been broken in this way),
    despite that it may change results.
    070884c7
random.py 22.2 KB