Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a c.f.as_completed() refleak previously introduced in bpo-27144 (#3270) | Antoine Pitrou | 2017-09-03 | 1 | -7/+19 |
| | |||||
* | bpo-31326: ProcessPoolExecutor waits for the call queue thread (#3265) | Victor Stinner | 2017-09-01 | 1 | -1/+5 |
| | | | | | | | | | | * bpo-31326: ProcessPoolExecutor waits for the call queue thread concurrent.futures.ProcessPoolExecutor.shutdown() now explicitly closes the call queue. Moreover, shutdown(wait=True) now also join the call queue thread, to prevent leaking a dangling thread. * Fix for shutdown() being called twice. | ||||
* | bpo-27144: concurrent.futures as_complete and map iterators do not keep ↵ | Grzegorz Grzywacz | 2017-09-01 | 2 | -10/+41 |
| | | | | | | | | | | reference to returned object (#1560) * bpo-27144: concurrent.futures as_complie and map iterators do not keep reference to returned object * Some nits. Improve wordings in docstrings and comments, and avoid relying on sys.getrefcount() in tests. | ||||
* | bpo-31249: Fix ref cycle in ThreadPoolExecutor (#3178) | Victor Stinner | 2017-08-22 | 1 | -2/+4 |
| | | | | | | | | | | | | | * bpo-31249: Fix ref cycle in ThreadPoolExecutor concurrent.futures: WorkItem.run() used by ThreadPoolExecutor now breaks a reference cycle between an exception object and the WorkItem object. ThreadPoolExecutor.shutdown() now also clears its threads set. * shutdown() now only clears threads if wait is true. * Revert changes on shutdown() | ||||
* | bpo-29212: Fix the ugly repr() ThreadPoolExecutor thread name. (#2315) | Gregory P. Smith | 2017-06-22 | 1 | -1/+7 |
| | | | | | | | bpo-29212: Fix the ugly ThreadPoolExecutor thread name. Fixes the newly introduced ugly default thread name for concurrent.futures thread.ThreadPoolExecutor threads. They'll now resemble the old <=3.5 threading default Thread-x names by being named ThreadPoolExecutor-y_n. | ||||
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Raymond Hettinger | 2016-08-30 | 2 | -2/+2 |
| | |||||
* | Issue #27664: Add to concurrent.futures.thread.ThreadPoolExecutor() | Gregory P. Smith | 2016-08-07 | 1 | -3/+8 |
| | | | | the ability to specify a thread name prefix. | ||||
* | Issue #25523: Further a-to-an corrections new in 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | |||||
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
|\ | |||||
| * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | | Issue #21817: When an exception is raised in a task submitted to a ↵ | Antoine Pitrou | 2015-01-17 | 1 | -2/+24 |
| | | | | | | | | | | | | ProcessPoolExecutor, the remote traceback is now displayed in the parent process. Patch by Claudiu Popa. | ||||
* | | Issue #11271: concurrent.futures.Executor.map() now takes a *chunksize* | Antoine Pitrou | 2014-10-04 | 2 | -1/+56 |
| | | | | | | | | | | argument to allow batching of tasks in child processes and improve performance of ProcessPoolExecutor. Patch by Dan O'Reilly. | ||||
* | | Closes #21527: Add default number of workers to ThreadPoolExecutor. (Claudiu ↵ | Guido van Rossum | 2014-09-02 | 1 | -1/+6 |
| | | | | | | | | Popa.) | ||||
* | | Issue #22033: Reprs of most Python implemened classes now contain actual | Serhiy Storchaka | 2014-07-25 | 1 | -6/+9 |
| | | | | | | | | class name instead of hardcoded one. | ||||
* | | Issue #21362: concurrent.futures does not validate that max_workers is proper | Brian Quinlan | 2014-05-17 | 2 | -0/+6 |
|/ | |||||
* | Issue #20319: concurrent.futures.wait() can block forever even if Futures ↵ | Brian Quinlan | 2014-02-01 | 1 | -2/+4 |
| | | | | have completed | ||||
* | Fix issue #20367: concurrent.futures.as_completed() for duplicate arguments. | Guido van Rossum | 2014-01-26 | 1 | -2/+4 |
| | | | | Patch by Glenn Langford. | ||||
* | Fix import of SimpleQueue. | Richard Oudkerk | 2013-10-16 | 1 | -1/+2 |
| | |||||
* | #18741: merge with 3.3. | Ezio Melotti | 2013-08-17 | 1 | -2/+2 |
|\ | |||||
| * | #18741: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -2/+2 |
| | | |||||
* | | Issue #17914: Use os.cpu_count() instead of multiprocessing.cpu_count() where | Charles-François Natali | 2013-06-28 | 1 | -1/+1 |
| | | | | | | | | applicable. | ||||
* | | Merge 3.3, issue #17047: remove doubled words found in 2.7 to | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 |
|\ \ | |/ | | | | | 3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett. | ||||
| * | Merge 3.2, issue #17047: remove doubled words found in 2.7 to | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 |
| |\ | | | | | | | | | | 3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett. | ||||
| | * | Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*, | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 |
| | | | | | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett. | ||||
| * | | Fix docstring typo in concurrent.futures.Future | Eli Bendersky | 2013-01-17 | 1 | -1/+1 |
| | | | |||||
* | | | Fix docstring typo in concurrent.futures.Future | Eli Bendersky | 2013-01-17 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #16284: Prevent keeping unnecessary references to worker functions in ↵ | Andrew Svetlov | 2012-11-03 | 2 | -0/+6 |
| | | | | | | | | | | | | concurrent.futures ThreadPoolExecutor. | ||||
* | | | Fix concurrent.futures docstring typo: "Request Q" -> "Result Q". | Mark Dickinson | 2012-10-20 | 1 | -1/+1 |
| | | | |||||
* | | | utilize yield from | Philip Jenvey | 2012-10-01 | 1 | -2/+1 |
|/ / | |||||
* | | #15015: Fix accessing an non-existing attribute. | Brian Quinlan | 2012-06-11 | 1 | -2/+2 |
| | | |||||
* | | Issue #14406: Fix a race condition when using ↵ | Antoine Pitrou | 2012-03-31 | 1 | -3/+5 |
|\ \ | |/ | | | | | | | | | `concurrent.futures.wait(return_when=ALL_COMPLETED)`. Patch by Matt Joiner. | ||||
| * | Issue #14406: Fix a race condition when using ↵ | Antoine Pitrou | 2012-03-31 | 1 | -3/+5 |
| | | | | | | | | | | | | `concurrent.futures.wait(return_when=ALL_COMPLETED)`. Patch by Matt Joiner. | ||||
* | | Issue #12328: Fix multiprocessing's use of overlapped I/O on Windows. | Antoine Pitrou | 2012-03-05 | 1 | -4/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, add a multiprocessing.connection.wait(rlist, timeout=None) function for polling multiple objects at once. Patch by sbt. Complete changelist from sbt's patch: * Adds a wait(rlist, timeout=None) function for polling multiple objects at once. On Unix this is just a wrapper for select(rlist, [], [], timeout=None). * Removes use of the SentinelReady exception and the sentinels argument to certain methods. concurrent.futures.process has been changed to use wait() instead of SentinelReady. * Fixes bugs concerning PipeConnection.poll() and messages of zero length. * Fixes PipeListener.accept() to call ConnectNamedPipe() with overlapped=True. * Fixes Queue.empty() and SimpleQueue.empty() so that they are threadsafe on Windows. * Now PipeConnection.poll() and wait() will not modify the pipe except possibly by consuming a zero length message. (Previously poll() could consume a partial message.) * All of multiprocesing's pipe related blocking functions/methods are now interruptible by SIGINT on Windows. | ||||
* | | Merge with 3.2 for #12364. | Ross Lagerwall | 2012-01-08 | 1 | -3/+0 |
|\ \ | |/ | |||||
| * | Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor. | Ross Lagerwall | 2012-01-08 | 1 | -6/+1 |
| | | |||||
| * | Close the call queue in concurrent.futures.ProcessPoolExecutor when | Antoine Pitrou | 2011-07-16 | 1 | -0/+1 |
| | | | | | | | | shutdown() is called, without waiting for the garbage collector to kick in. | ||||
* | | Remove unused or redundant imports in concurrent.futures and multiprocessing. | Florent Xicluna | 2011-11-11 | 3 | -4/+2 |
| | | |||||
* | | Silence spurious "broken pipe" tracebacks when shutting down a ↵ | Antoine Pitrou | 2011-07-15 | 1 | -4/+7 |
| | | | | | | | | ProcessPoolExecutor. | ||||
* | | Fix potential resource leaks in concurrent.futures.ProcessPoolExecutor | Antoine Pitrou | 2011-07-15 | 1 | -1/+4 |
| | | | | | | | | by joining all queues and processes when shutdown() is called. | ||||
* | | Followup to 51c1f2cedb96 (and issue #12456): | Antoine Pitrou | 2011-07-03 | 1 | -10/+10 |
| | | | | | | | | qsize() raises NotImplementedError on OS X, don't use it. | ||||
* | | Issue #12456: fix a possible hang on shutdown of a ↵ | Antoine Pitrou | 2011-07-02 | 1 | -9/+21 |
| | | | | | | | | concurrent.futures.ProcessPoolExecutor. | ||||
* | | Issue #9205: concurrent.futures.ProcessPoolExecutor now detects killed | Antoine Pitrou | 2011-06-08 | 1 | -31/+74 |
| | | | | | | | | | | children and raises BrokenProcessPool in such a situation. Previously it would reliably freeze/deadlock. | ||||
* | | Fix typo in name of private function | Antoine Pitrou | 2011-05-03 | 1 | -7/+7 |
|\ \ | |/ | |||||
| * | Fix typo in name of private function | Antoine Pitrou | 2011-05-03 | 1 | -7/+7 |
| | | |||||
* | | Issue #11815: Use a light-weight SimpleQueue for the result queue in ↵ | Antoine Pitrou | 2011-04-12 | 1 | -2/+3 |
| | | | | | | | | concurrent.futures.ProcessPoolExecutor. | ||||
* | | Issue #11815: Remove dead code in concurrent.futures (since a blocking Queue | Antoine Pitrou | 2011-04-12 | 2 | -52/+29 |
|\ \ | |/ | | | | | cannot raise queue.Empty). | ||||
| * | Issue #11815: Remove dead code in concurrent.futures (since a blocking Queue | Antoine Pitrou | 2011-04-12 | 2 | -52/+29 |
| | | | | | | | | cannot raise queue.Empty). | ||||
* | | Issue #11777: Executor.map does not submit futures until iter.next() is called | Brian Quinlan | 2011-04-07 | 1 | -9/+13 |
|/ | |||||
* | Issue #11635: Don't use polling in worker threads and processes launched by | Antoine Pitrou | 2011-03-26 | 2 | -79/+93 |
| | | | | concurrent.futures. | ||||
* | Issue #10798: Reject supporting concurrent.futures if the system has | Martin v. Löwis | 2011-01-03 | 1 | -0/+26 |
| | | | | too few POSIX semaphores. |