Re: creating an instance of a random number generator

jps@TFS.COM
Fri, 7 Apr 1995 11:01:21 -0700

Thanks to all for your help with whrandom.whrandom(). I must have had
a temporary brain cramp.

But, Guido, I'm intrigued when you say:

: Note that the import statement should not be done in each thread but
: at the module level -- when two threads independently but
: simultaneously try to import a module, things get messed up.

Is this an isolated phenomena, or are there other pitfalls to multhithreaded
python programs? I've only used the python thread module a modest amount,
but I've been surprised by how much has worked.

thanks again, -jeff stearns