Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-33716, test_concurrent_futures: increase timeout (GH-7828) | Pablo Galindo | 2018-06-21 | 1 | -5/+5 |
| | | | | | Increase the timeout from 1 min to 5 min. Replace also time.time() with time.monotonic() for timeouts. | ||||
* | bpo-33238: Add InvalidStateError to concurrent.futures. (GH-7056) | jhaydaman | 2018-05-30 | 1 | -0/+28 |
| | | | | | | | Future.set_result and Future.set_exception now raise InvalidStateError if the futures are not pending or running. This mirrors the behavior of asyncio.Future, and prevents AssertionErrors in asyncio.wrap_future when set_result is called multiple times. | ||||
* | bpo-33097: Fix submit accepting callable after executor shutdown by ↵ | Mark Nemec | 2018-04-10 | 1 | -0/+28 |
| | | | | | | interpreter exit (GH-6144) Executors in concurrent.futures accepted tasks after executor was shutdown by interpreter exit. Tasks were left in PENDING state forever. This fix changes submit to instead raise a RuntimeError. | ||||
* | bpo-32746: Fix multiple typos (GH-5144) | Leo Arias | 2018-02-04 | 1 | -6/+6 |
| | | | Fix typos found by codespell in docs, docstrings, and comments. | ||||
* | bpo-31699 Deadlocks in `concurrent.futures.ProcessPoolExecutor` with ↵ | Thomas Moreau | 2018-01-05 | 1 | -2/+170 |
| | | | | | | pickling error (#3895) Fix deadlocks in :class:`concurrent.futures.ProcessPoolExecutor` when task arguments or results cause pickling or unpickling errors. This should make sure that calls to the :class:`ProcessPoolExecutor` API always eventually return. | ||||
* | Silence error output in test_concurrent_futures (bpo-21423) (#4347) | Antoine Pitrou | 2017-11-09 | 1 | -22/+47 |
| | | | | * Silence error output in test_concurrent_futures (bpo-21423) | ||||
* | bpo-21423: Add an initializer argument to {Process,Thread}PoolExecutor (#4241) | Antoine Pitrou | 2017-11-04 | 1 | -65/+119 |
| | | | | | | * bpo-21423: Add an initializer argument to {Process,Thread}PoolExecutor * Fix docstring | ||||
* | bpo-31540: Allow passing multiprocessing context to ProcessPoolExecutor (#3682) | Thomas Moreau | 2017-10-03 | 1 | -9/+120 |
| | |||||
* | bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_completed()` ↵ | Łukasz Langa | 2017-09-29 | 1 | -1/+5 |
| | | | | | | | (#3830) This was possible before. GH-1560 introduced a regression after 3.6.2 got released where only sequences were accepted now. This commit addresses this problem. | ||||
* | bpo-31234: Join threads in tests (#3572) | Victor Stinner | 2017-09-14 | 1 | -0/+3 |
| | | | | Call thread.join() on threads to prevent the "dangling threads" warning. | ||||
* | bpo-31249: Fix test_concurrent_futures dangling thread (#3521) | Victor Stinner | 2017-09-13 | 1 | -0/+3 |
| | | | | ProcessPoolShutdownTest.test_del_shutdown() now closes the call queue and joins its thread, to prevent leaking a dangling thread. | ||||
* | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -4/+0 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | Fix a c.f.as_completed() refleak previously introduced in bpo-27144 (#3270) | Antoine Pitrou | 2017-09-03 | 1 | -1/+1 |
| | |||||
* | bpo-27144: concurrent.futures as_complete and map iterators do not keep ↵ | Grzegorz Grzywacz | 2017-09-01 | 1 | -0/+48 |
| | | | | | | | | | | 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: test_concurrent_futures checks dangling threads (#3167) | Victor Stinner | 2017-08-21 | 1 | -12/+20 |
| | | | | | Add a BaseTestCase class to test_concurrent_futures to check for dangling threads and processes on all tests, not only tests using ExecutorMixin. | ||||
* | bpo-30845: Enhance test_concurrent_futures cleanup (#2564) | Victor Stinner | 2017-07-04 | 1 | -0/+7 |
| | | | | | | | | | | | * bpo-30845: reap_children() now logs warnings * bpo-30845: Enhance test_concurrent_futures cleanup In setUp() and tearDown() methods of test_concurrent_futures tests, make sure that tests don't leak threads nor processes. Clear explicitly the reference to the executor to make it that it's destroyed (to prevent "dangling threads" warning). | ||||
* | bpo-29212: Fix the ugly repr() ThreadPoolExecutor thread name. (#2315) | Gregory P. Smith | 2017-06-22 | 1 | -4/+3 |
| | | | | | | | 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 | 1 | -1/+1 |
| | |||||
* | Issue #27664: Add to concurrent.futures.thread.ThreadPoolExecutor() | Gregory P. Smith | 2016-08-07 | 1 | -0/+24 |
| | | | | the ability to specify a thread name prefix. | ||||
* | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 1 | -2/+2 |
| | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | Issue #9517: Move script_helper to the support package. | Berker Peksag | 2015-05-06 | 1 | -1/+1 |
| | | | | Patch by Christie Wilson. | ||||
* | Issue #21817: When an exception is raised in a task submitted to a ↵ | Antoine Pitrou | 2015-01-17 | 1 | -0/+26 |
| | | | | | | 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 | 1 | -0/+16 |
| | | | | | 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 | -0/+6 |
| | | | | Popa.) | ||||
* | Eliminate DeprecationWarning in test_concurrent_futures. | R David Murray | 2014-06-11 | 1 | -3/+3 |
| | |||||
* | Issue #21362: concurrent.futures does not validate that max_workers is proper | Brian Quinlan | 2014-05-17 | 1 | -0/+7 |
| | |||||
* | Fix issue #20367: concurrent.futures.as_completed() for duplicate arguments. | Guido van Rossum | 2014-01-26 | 1 | -0/+7 |
| | | | | Patch by Glenn Langford. | ||||
* | Issue #14407: Fix unittest test discovery in test_concurrent_futures. | Antoine Pitrou | 2013-10-15 | 1 | -22/+13 |
|\ | |||||
| * | Issue #14407: Fix unittest test discovery in test_concurrent_futures. | Antoine Pitrou | 2013-10-15 | 1 | -22/+13 |
| | | |||||
* | | Issue #16284: Prevent keeping unnecessary references to worker functions in ↵ | Andrew Svetlov | 2012-11-03 | 1 | -0/+22 |
|/ | | | | concurrent.futures ThreadPoolExecutor. | ||||
* | Issue #14406: Fix a race condition when using ↵ | Antoine Pitrou | 2012-03-31 | 1 | -1/+17 |
|\ | | | | | | | | | | | `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 | -1/+17 |
| | | | | | | | | | | | | `concurrent.futures.wait(return_when=ALL_COMPLETED)`. Patch by Matt Joiner. | ||||
* | | Merge with 3.2 for #12364. | Ross Lagerwall | 2012-01-08 | 1 | -0/+6 |
|\ \ | |/ | |||||
| * | Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor. | Ross Lagerwall | 2012-01-08 | 1 | -0/+6 |
| | | |||||
* | | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy. | Antoine Pitrou | 2011-10-12 | 1 | -7/+7 |
| | | |||||
* | | Fix potential resource leaks in concurrent.futures.ProcessPoolExecutor | Antoine Pitrou | 2011-07-15 | 1 | -1/+2 |
| | | | | | | | | by joining all queues and processes when shutdown() is called. | ||||
* | | Make sure to reap worker threads and processes at the end of ↵ | Antoine Pitrou | 2011-07-15 | 1 | -9/+13 |
|\ \ | |/ | | | | | test_concurrent_futures | ||||
| * | Make sure to reap worker threads and processes at the end of ↵ | Antoine Pitrou | 2011-07-15 | 1 | -9/+13 |
| | | | | | | | | test_concurrent_futures | ||||
* | | Issue #12456: fix a possible hang on shutdown of a ↵ | Antoine Pitrou | 2011-07-02 | 1 | -0/+7 |
| | | | | | | | | concurrent.futures.ProcessPoolExecutor. | ||||
* | | Issue #9205: concurrent.futures.ProcessPoolExecutor now detects killed | Antoine Pitrou | 2011-06-08 | 1 | -5/+15 |
| | | | | | | | | | | children and raises BrokenProcessPool in such a situation. Previously it would reliably freeze/deadlock. | ||||
* | | Increases some test timeouts to fix issue 11864. | Brian Quinlan | 2011-05-30 | 1 | -4/+4 |
| | | |||||
* | | Issue #11777: Executor.map does not submit futures until iter.next() is called | Brian Quinlan | 2011-04-07 | 1 | -1/+9 |
|/ | |||||
* | Add tests for the atexit hook in concurrent.futures (part of #11635) | Antoine Pitrou | 2011-03-24 | 1 | -15/+40 |
| | |||||
* | Use shorter timings in test_concurrent_futures to make it a bit faster | Antoine Pitrou | 2011-03-22 | 1 | -9/+9 |
| | | | | (it's still very slow) | ||||
* | Removes the 'Call' class which is used to control execution order and is ↵ | Brian Quinlan | 2011-01-03 | 1 | -400/+167 |
| | | | | unreliable on Windows | ||||
* | Skip hanging test. | Martin v. Löwis | 2011-01-03 | 1 | -0/+1 |
| | |||||
* | Issue #10798: Reject supporting concurrent.futures if the system has | Martin v. Löwis | 2011-01-03 | 1 | -72/+58 |
| | | | | too few POSIX semaphores. | ||||
* | Does not install a logging handler. Fixes issue 10626. | Brian Quinlan | 2010-12-28 | 1 | -10/+3 |
| | |||||
* | Assign closed handles to None to make errors more obvious if they are used. | Brian Quinlan | 2010-12-25 | 1 | -2/+2 |
| | |||||
* | Better reporting of test failures on Windows. | Brian Quinlan | 2010-12-24 | 1 | -3/+15 |
| |