[Python-ideas] Python and Concurrency

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Mar 23 02:32:30 CET 2007


Ron Adam wrote:

> Thinking out loud of ways a python program may use concurrent processing:
> 
> * Applying a single function concurrently over a list.
> * Feeding a single set of arguments concurrently over a list of callables.
> * Generators with the semantics of calculating first and waiting on 'yield'
> * Listcomps that perform the same calculation on each item

The solution is obvious -- just add a 'par' statement.

Then-we-can-call-it-Poccam-ly,
Greg



More information about the Python-ideas mailing list