[Python-Dev] futures API
brett at python.org
Thu Dec 9 17:36:56 CET 2010
On Thu, Dec 9, 2010 at 04:26, Thomas Nagy <tnagyemail-mail at yahoo.fr> wrote:
> I am looking forward to replacing a piece of code (http://code.google.com/p/waf/source/browse/trunk/waflib/Runner.py#86) by the futures module which was announced in python 3.2 beta. I am a bit stuck with it, so I have a few questions about the futures:
> 1. Is the futures API frozen?
It will be once Python 3.2 final is released.
> 2. How hard would it be to return the tasks processed in an output queue to process/consume the results while they are returned? The code does not seem to be very open for monkey patching.
> 3. How hard would it be to add new tasks dynamically (after a task is executed) and have the futures object never complete?
> 4. Is there a performance evaluation of the futures code (execution overhead) ?
> Python-Dev mailing list
> Python-Dev at python.org
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/brett%40python.org
More information about the Python-Dev