[Python-Dev] futures API (original) (raw)
Thomas Nagy tnagyemail-mail at yahoo.fr
Thu Dec 9 13:26:02 CET 2010
- Previous message: [Python-Dev] [Python-checkins] r86855 - in python/branches/py3k: Doc/library/unittest.rst Lib/unittest/case.py
- Next message: [Python-Dev] futures API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
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:
- Is the futures API frozen?
- 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.
- How hard would it be to add new tasks dynamically (after a task is executed) and have the futures object never complete?
- Is there a performance evaluation of the futures code (execution overhead) ?
Thanks, Thomas
- Previous message: [Python-Dev] [Python-checkins] r86855 - in python/branches/py3k: Doc/library/unittest.rst Lib/unittest/case.py
- Next message: [Python-Dev] futures API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]