Auto-parallelizing with decorators?

Stefan Behnel stefan.behnel-n05pAM at web.de
Fri Jul 6 11:30:35 EDT 2007


Kirk Strauser wrote:
> Suppose that Python had a new decorator, say "@parallelizable".  Functions
> so decorated would be eligible for multi-processed or multi-threaded
> execution by such native constructs as list comprehensions, or the map()
> function.

Wouldn't that require parallelism in the interpreter first? Mind the GIL...

Stefan



More information about the Python-list mailing list