• Raymond Hettinger's avatar
    SF bug #778964: bad seed in python 2.3 random · 3081d59f
    Raymond Hettinger yazdı
    The default seed is time.time().
    Multiplied by 256 before truncating so that fractional seconds are used.
    This way, two successive calls to random.seed() are much more likely
    to produce different sequences.
    3081d59f
test_random.py 11.3 KB