• Tim Peters's avatar
    random.gauss() uses a piece of hidden state used by nothing else, · 46c04e14
    Tim Peters yazdı
    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.
    46c04e14
test_random.py 550 Bytes