Re: random.gauss vs. random.normalvariate

2009-08-16 Thread Paul Rubin
Dennis Lee Bieber writes: > > > No language can guard against independent access of a shared/global > > > object by multiple threads... > http://en.wikipedia.org/wiki/Erlang_(programming_language) > """ > Like operating system processes (and unlike green threads and operating > system threads) t

Re: random.gauss vs. random.normalvariate

2009-08-16 Thread Dave Angel
John Haggerty wrote: On Sat, Aug 15, 2009 at 7:23 PM, Dennis Lee Bieber wrote: On Sat, 15 Aug 2009 14:34:36 -0600, John Haggerty declaimed the following in gmane.comp.python.general: What does the term "thread safe" mean exactly. I never had to program with "threads" be

Re: random.gauss vs. random.normalvariate

2009-08-16 Thread Chris Rebert
> On Sat, Aug 15, 2009 at 10:18 PM, Paul Rubin > wrote: >> >> Dennis Lee Bieber writes: >> >       No language can guard against independent access of a >> > shared/global >> > object by multiple threads... >> >> Erlang? On Sun, Aug 16, 2009 at 12:23 AM, John Hagger

Re: random.gauss vs. random.normalvariate

2009-08-15 Thread John Haggerty
Erlang I assume is a computer programming language? On Sat, Aug 15, 2009 at 10:18 PM, Paul Rubin wrote: > Dennis Lee Bieber writes: > > No language can guard against independent access of a shared/global > > object by multiple threads... > > Erlang? > -- > htt

Re: random.gauss vs. random.normalvariate

2009-08-15 Thread Paul Rubin
Dennis Lee Bieber writes: > No language can guard against independent access of a shared/global > object by multiple threads... Erlang? -- http://mail.python.org/mailman/listinfo/python-list

Re: random.gauss vs. random.normalvariate

2009-08-15 Thread John Haggerty
On Sat, Aug 15, 2009 at 7:23 PM, Dennis Lee Bieber wrote: > On Sat, 15 Aug 2009 14:34:36 -0600, John Haggerty > declaimed the following in gmane.comp.python.general: > > > What does the term "thread safe" mean exactly. I never had to program > with > > "threads" before > > That, part way

Re: random.gauss vs. random.normalvariate

2009-08-15 Thread Alan G Isaac
> On Aug 15, 12:49 pm, Alan G Isaac wrote: >> Quotinghttp://docs.python.org/3.1/library/random.html#random.gauss: >> Gaussian distribution. mu is the mean, and sigma is the >> standard deviation. This is slightly faster than the >> normalvariate() function defined below. >> >> So since

Re: random.gauss vs. random.normalvariate

2009-08-15 Thread John Haggerty
What does the term "thread safe" mean exactly. I never had to program with "threads" before On Sat, Aug 15, 2009 at 2:26 PM, Carl Banks wrote: > On Aug 15, 12:49 pm, Alan G Isaac wrote: > > Quotinghttp://docs.python.org/3.1/library/random.html#random.gauss: > > Gaussian distribution. mu is t

Re: random.gauss vs. random.normalvariate

2009-08-15 Thread Carl Banks
On Aug 15, 12:49 pm, Alan G Isaac wrote: > Quotinghttp://docs.python.org/3.1/library/random.html#random.gauss: >     Gaussian distribution. mu is the mean, and sigma is the >     standard deviation. This is slightly faster than the >     normalvariate() function defined below. > > So since both ar

random.gauss vs. random.normalvariate

2009-08-15 Thread Alan G Isaac
Quoting http://docs.python.org/3.1/library/random.html#random.gauss: Gaussian distribution. mu is the mean, and sigma is the standard deviation. This is slightly faster than the normalvariate() function defined below. So since both are offered and gauss is faster, I assume it must have