[Python-Dev] Fwd: [Python-ideas] stats module Was: minmax() function ...

2010-10-15 Thread Raymond Hettinger
Hello guys. If you don't mind, I would like to hijack your thread :-) ISTM, that the minmax() idea is really just an optimization request. A single-pass minmax() is easily coded in simple, pure-python, so really the discussion is about how to remove the loop overhead (there isn't much you can do

Re: [Python-Dev] Fwd: [Python-ideas] stats module Was: minmax() function ...

2010-10-15 Thread geremy condra
On Fri, Oct 15, 2010 at 1:00 PM, Raymond Hettinger raymond.hettin...@gmail.com wrote: Hello guys.  If you don't mind, I would like to hijack your thread :-) ISTM, that the minmax() idea is really just an optimization request. A single-pass minmax() is easily coded in simple, pure-python, so

Re: [Python-Dev] Fwd: [Python-ideas] stats module Was: minmax() function ...

2010-10-15 Thread Steven D'Aprano
On Sat, 16 Oct 2010 07:00:16 am Raymond Hettinger wrote: Hello guys. If you don't mind, I would like to hijack your thread :-) Please do :) A few years ago, Guido and other python devvers supported a proposal I made to create a stats module, but I didn't have time to develop it. [...] I

Re: [Python-Dev] Fwd: [Python-ideas] stats module Was: minmax() function ...

2010-10-15 Thread sunqiang
On Sat, Oct 16, 2010 at 8:05 AM, geremy condra debat...@gmail.com wrote: On Fri, Oct 15, 2010 at 1:00 PM, Raymond Hettinger raymond.hettin...@gmail.com wrote: Hello guys.  If you don't mind, I would like to hijack your thread :-) ISTM, that the minmax() idea is really just an optimization