Adding a Par construct to Python?

Steven D'Aprano steve at
Sun May 17 19:26:14 EDT 2009

On Sun, 17 May 2009 20:34:00 +0200, Diez B. Roggisch wrote:

>>> My math-skills are a bit too rusty to qualify the exact nature of the
>>> operation, commutativity springs to my mind.
>> And how is reduce() supposed to know whether or not some arbitrary
>> function is commutative?
> I don't recall anybody saying it should know that - do you? The OP wants
> to introduce parallel variants, not replace the existing ones.

Did I really need to spell it out? From context, I'm talking about the 
*parallel version* of reduce().


More information about the Python-list mailing list