summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-08-09 18:30:57 +0000
committerRaymond Hettinger <python@rcn.com>2003-08-09 18:30:57 +0000
commita13906a4af3dcbe59cfa9bd052d8e81f2eff5690 (patch)
tree988e719955945bd1cc86647ae1b0ad3b793b7eb6 /Python/pythonrun.c
parent2e71b934677c8247b2daa56a68960dad2c7b6252 (diff)
downloadcpython-a13906a4af3dcbe59cfa9bd052d8e81f2eff5690.tar.gz
SF bug #778964: bad seed in python 2.3 random
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions