[issue11815] Simplifications in concurrent.futures

2011-04-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue11815] Simplifications in concurrent.futures

2011-04-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset c26d015cbde8 by Antoine Pitrou in branch 'default': Issue #11815: Use a light-weight SimpleQueue for the result queue in concurrent.futures.ProcessPoolExecutor. http://hg.python.org/cpython/rev/c26d015cbde8 --

[issue11815] Simplifications in concurrent.futures

2011-04-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset bfc586c558ed by Antoine Pitrou in branch '3.2': Issue #11815: Remove dead code in concurrent.futures (since a blocking Queue http://hg.python.org/cpython/rev/bfc586c558ed New changeset eb751e3cb753 by Antoine Pitrou in branch 'default': Issue #1181

[issue11815] Simplifications in concurrent.futures

2011-04-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: A further optimization would be to use a SimpleQueue (from multiprocessing.queues) for the result_queue in the ProcessPoolExecutor. A SimpleQueue is much more light-weight than a normal Queue, which has a bunch of additional locks and a dedicated thread. ---

[issue11815] Simplifications in concurrent.futures

2011-04-09 Thread Antoine Pitrou
New submission from Antoine Pitrou : Queue.get(block=True) cannot raise EmptyError, meaning there's some dead code that we can remove. -- components: Library (Lib) files: cfsimplify.patch keywords: patch messages: 133435 nosy: bquinlan, pitrou priority: normal severity: normal stage: pa