module random: delay in "seeding"

Paul Rubin phr-n2002a at nightsong.com
Sat May 4 04:43:12 EDT 2002


Tim Peters <tim.one at comcast.net> writes:
> > While it is quite understandable that normally distributed numbers
> > come in pairs, but I thought seed() resets the state of random module...
> > I think this sometimes can cause errors.
> 
> I agree, but it's one of those things that can't be changed without risking
> breaking code relying on the broken behavior (which has been broken
> forever).  If you get unanimous agreement from all the usual c.l.py suspects
> that they won't piss and moan if I fix it, I will.

I'm in favor of fixing it.



More information about the Python-list mailing list