Fwd: stats module Was: minmax() function ...

Drat. This should have gone to python-ideas. Re-sending. Begin forwarded message:

On 2010-10-15, at 22:01 , Raymond Hettinger wrote:
I think I'd still go with composable coroutines, the kind of stuff dabeaz shows/promotes in his training sessions and stuff. Maybe with a higher-level interface making their usage easier, but they seem a perfect fit for that kind of stuff where you create arbitrary data pipes including forks and joins. As others mentioned, generator-based coroutines in Python have to be primed (by calling next() once on them) which is kind-of a pain, but the decorator to "fix" that is easy enough to write.

On 2010-10-15, at 22:01 , Raymond Hettinger wrote:
I think I'd still go with composable coroutines, the kind of stuff dabeaz shows/promotes in his training sessions and stuff. Maybe with a higher-level interface making their usage easier, but they seem a perfect fit for that kind of stuff where you create arbitrary data pipes including forks and joins. As others mentioned, generator-based coroutines in Python have to be primed (by calling next() once on them) which is kind-of a pain, but the decorator to "fix" that is easy enough to write.
participants (2)
-
Masklinn
-
Raymond Hettinger