Mark Dickinson <dicki...@gmail.com> added the comment:

+1 on the idea.

I'm not sure I understand the patch, though.  If the line:

random_seed = int(1000000 * random.random())

produces a random_seed of 0 (or if randseed=0 is supplied as an option), 
it looks as though random.seed is never called;  is this intentional?

Also, not that it really matters, but why do you use the expression above 
instead of the simpler random.randrange(1000000)?

----------
nosy: +marketdickinson

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5588>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to