Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-30886: Fix multiprocessing.Queue.join_thread() (#2642) (#2644) | Victor Stinner | 2017-07-10 | 1 | -8/+1 |
| | | | | | | | | | | | multiprocessing.Queue.join_thread() now waits until the thread completes, even if the thread was started by the same process which created the queue. Fix the following warning which occurs randomly when running test_handle_called_with_mp_queue of test_logging.QueueListenerTest: Warning -- threading_cleanup() failed to cleanup -1 threads after 4 sec (count: 0, dangling: 1) (cherry picked from commit 3b69d911c57ef591ac0c0f47a66dbcad8337f33a) | ||||
* | [3.5] Clear potential ref cycle between Process and Process target (GH-2470) ↵ | Antoine Pitrou | 2017-06-28 | 1 | -0/+3 |
| | | | | | | | | | | | (#2472) * Clear potential ref cycle between Process and Process target Besides Process.join() not being called, this was an indirect cause of bpo-30775. The threading module already does this. * Add issue reference. (cherry picked from commit 79d37ae979a65ada0b2ac820279ccc3b1cd41ba6) | ||||
* | [3.5] bpo-24484: Avoid race condition in multiprocessing cleanup (GH-2159) ↵ | Antoine Pitrou | 2017-06-13 | 1 | -13/+21 |
| | | | | | | | | | | | | | (#2167) * bpo-24484: Avoid race condition in multiprocessing cleanup The finalizer registry can be mutated while inspected by multiprocessing at process exit. * Use test.support.start_threads() * Add Misc/NEWS. (cherry picked from commit 1eb6c0074d17f4fd425cacfdda893d65f5f77f0a) | ||||
* | [3.5] bpo-30414: multiprocessing.Queue._feed do not break from main loop on ↵ | Antoine Pitrou | 2017-05-25 | 1 | -12/+10 |
| | | | | | | | | | | | | | | | | | | exc (GH-1683) (#1816) * bpo-30414: multiprocesing.Queue._feed do not break from main loop on exc Queue background running thread was not handling exceptions correctly. Any exception occurred inside thread (putting unpickable object) cause feeder to finish running. After that every message put into queue is silently ignored. * bpo-30414: multiprocesing.Queue._feed do not break from main loop on exc Queue background running thread was not handling exceptions correctly. Any exception occurred inside thread (putting unpickable object) cause feeder to finish running. After that every message put into queue is silently ignored. (cherry picked from commit bc50f03db4f58c869b78e98468e374d7e61f1227) | ||||
* | bpo-30301: Fix AttributeError when using SimpleQueue.empty() (#1601) (#1627) | Xiang Zhang | 2017-05-17 | 1 | -0/+1 |
| | | | | Under *spawn* and *forkserver* start methods, SimpleQueue.empty() could raise AttributeError due to not setting _poll in __setstate__. | ||||
* | [3.5] bpo-30185: avoid KeyboardInterrupt tracebacks in forkserver (GH-1319) ↵ | Antoine Pitrou | 2017-05-04 | 1 | -6/+14 |
| | | | | | | | | (#1455) * bpo-30185: avoid KeyboardInterrupt tracebacks in forkserver * Tweak comment. (cherry picked from commit 6dd4d734ed207ba16b017e38f8909de7ef187e29) | ||||
* | [3.5] bpo-30065: Fixed arguments validation in _posixsubprocess.fork_exec(). ↵ | Serhiy Storchaka | 2017-04-19 | 1 | -1/+1 |
| | | | | | (GH-1110) (#1190) (cherry picked from commit 66bffd1) | ||||
* | bpo-28699: fix abnormal behaviour of pools in multiprocessing.pool (GH-884) | Xiang Zhang | 2017-03-29 | 1 | -24/+55 |
| | | | | an exception raised at the very first of an iterable would cause pools behave abnormally (swallow the exception or hang) | ||||
* | bpo-29861: release references to multiprocessing Pool tasks (#743) (#801) | Antoine Pitrou | 2017-03-24 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | * bpo-29861: release references to multiprocessing Pool tasks (#743) * bpo-29861: release references to multiprocessing Pool tasks Release references to tasks, their arguments and their results as soon as they are finished, instead of keeping them alive until another task arrives. * Comments in test (cherry picked from commit 8988945cdc27ffa86ba8c624e095b51c459f5154) * Fix Misc/NEWS?? | ||||
* | Issue #28779: multiprocessing.set_forkserver_preload() would crash the ↵ | Antoine Pitrou | 2016-12-10 | 2 | -2/+2 |
| | | | | forkserver process if a preloaded module instantiated some multiprocessing objects such as locks. | ||||
* | Issue #21201: Improves readability of multiprocessing error message from ↵ | Davin Potts | 2016-09-08 | 1 | -1/+1 |
| | | | | server to client for certain exceptions | ||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
| | |||||
* | Issue #25654: | Victor Stinner | 2016-03-25 | 3 | -13/+25 |
| | | | | | | | | | * multiprocessing: open file with closefd=False to avoid ResourceWarning * _test_multiprocessing: open file with O_EXCL to detect bugs in tests (if a previous test forgot to remove TESTFN) * test_sys_exit(): remove TESTFN after each loop iteration Initial patch written by Serhiy Storchaka. | ||||
* | Fix typo in docstring of multiprocessing.spawn.spawn_main() | Berker Peksag | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Issue #25899: Converted non-ASCII characters in docstrings and manpage | Serhiy Storchaka | 2015-12-18 | 1 | -1/+1 |
| | | | | to ASCII replacements. Original patch by Chris Angelico. | ||||
* | Issue #21116: Avoid blowing memory when allocating a multiprocessing shared | Antoine Pitrou | 2015-04-13 | 1 | -1/+8 |
| | | | | | | array that's larger than 50% of the available RAM. Patch by Médéric Boquien. | ||||
* | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 2 | -8/+17 |
|\ | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
| * | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 2 | -8/+17 |
| | | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
* | | Issue #23400: Raise same exception on both Python 2 and 3 if sem_open is not ↵ | Berker Peksag | 2015-04-08 | 1 | -1/+2 |
|\ \ | |/ | | | | | | | | | available. Patch by Davin Potts. | ||||
| * | Issue #23400: Raise same exception on both Python 2 and 3 if sem_open is not ↵ | Berker Peksag | 2015-04-08 | 1 | -1/+2 |
| | | | | | | | | | | | | available. Patch by Davin Potts. | ||||
* | | Issue #23051: multiprocessing.Pool methods imap() and imap_unordered() now | Serhiy Storchaka | 2015-03-13 | 1 | -14/+23 |
|\ \ | |/ | | | | | | | handle exceptions raised by an iterator. Patch by Alon Diamant and Davin Potts. | ||||
| * | Issue #23051: multiprocessing.Pool methods imap() and imap_unordered() now | Serhiy Storchaka | 2015-03-13 | 1 | -14/+23 |
| | | | | | | | | | | handle exceptions raised by an iterator. Patch by Alon Diamant and Davin Potts. | ||||
* | | Issue #18382: Zero-length messages are consumed by ReadFile on Windows 8 and ↵ | Steve Dower | 2015-03-02 | 1 | -2/+11 |
|\ \ | |/ | | | | | later | ||||
| * | Issue #18382: Zero-length messages are consumed by ReadFile on Windows 8 and ↵ | Steve Dower | 2015-03-02 | 1 | -2/+11 |
| | | | | | | | | later | ||||
* | | Issue #23285: PEP 475 -- Retry system calls failing with EINTR. | Charles-François Natali | 2015-02-07 | 3 | -34/+5 |
| | | |||||
* | | Issue #23060: Suppresses a multiprocessing assert that fails incorrectly | Steve Dower | 2014-12-17 | 1 | -1/+3 |
| | | | | | | | | This is to keep buildbots running while we figure out the best long-term fix. | ||||
* | | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 1 | -1/+1 |
| | | |||||
* | | Simplify code in multiprocessing.Connection.send_bytes(). | Antoine Pitrou | 2014-07-31 | 1 | -9/+6 |
| | | | | | | | | Followup to issue #20540; patch by Serhiy. | ||||
* | | Issue #22033: Reprs of most Python implemened classes now contain actual | Serhiy Storchaka | 2014-07-25 | 5 | -16/+17 |
| | | | | | | | | class name instead of hardcoded one. | ||||
* | | Issue #21566: Make use of socket.listen() default backlog. | Charles-François Natali | 2014-07-23 | 1 | -1/+1 |
| | | |||||
* | | Fixed bugs in reprs of CookieJar and multiprocessing.dummy.Value. | Serhiy Storchaka | 2014-07-22 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fixed bugs in reprs of CookieJar and multiprocessing.dummy.Value. | Serhiy Storchaka | 2014-07-22 | 1 | -1/+1 |
| | | |||||
* | | Issue #21565: multiprocessing: use contex-manager protocol for synchronization | Charles-François Natali | 2014-05-25 | 8 | -102/+40 |
|/ | | | | primitives. | ||||
* | do not generate pipe names in the temporary dir | Benjamin Peterson | 2014-04-14 | 1 | -1/+1 |
| | |||||
* | Issue #20990: Correction for 619331c67638. | Richard Oudkerk | 2014-03-23 | 1 | -2/+2 |
| | |||||
* | Merge 3.3. | Richard Oudkerk | 2014-03-23 | 2 | -2/+2 |
|\ | |||||
| * | Issue #20633: Replace relative import by absolute import. | Richard Oudkerk | 2014-03-23 | 1 | -1/+1 |
| | | |||||
* | | Issue #20980: Stop wrapping exception when using ThreadPool. | Richard Oudkerk | 2014-03-23 | 2 | -6/+17 |
| | | |||||
* | | Issue #20990: Fix issues found by pyflakes for multiprocessing. | Richard Oudkerk | 2014-03-23 | 2 | -5/+14 |
| | | |||||
* | | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 8 | -14/+1 |
| | | |||||
* | | Issue #20978: pyflakes: fix undefined names | Victor Stinner | 2014-03-20 | 1 | -1/+1 |
| | | |||||
* | | Issue #20540: Fix a performance regression (vs. Python 3.2) when layering a ↵ | Antoine Pitrou | 2014-02-08 | 1 | -6/+16 |
|\ \ | |/ | | | | | | | | | multiprocessing Connection over a TCP socket. For small payloads, Nagle's algorithm would introduce idle delays before the entire transmission of a message. | ||||
| * | Issue #20540: Fix a performance regression (vs. Python 3.2) when layering a ↵ | Antoine Pitrou | 2014-02-08 | 1 | -6/+16 |
| | | | | | | | | | | | | multiprocessing Connection over a TCP socket. For small payloads, Nagle's algorithm would introduce idle delays before the entire transmission of a message. | ||||
* | | Close #19946: use runpy as needed in multiprocessing | Nick Coghlan | 2013-12-17 | 1 | -51/+70 |
| | | | | | | | | | | | | - handles main files without a suffix - handles main submodules properly - adds test cases for the various kinds of __main__ | ||||
* | | Issue #19946: Raise ImportError when the main module cannot be found | Brett Cannon | 2013-12-13 | 1 | -0/+2 |
| | | | | | | | | by multiprocessing.spawn (before it was raising an AttributeError). | ||||
* | | Implement PEP 451 (ModuleSpec). | Eric Snow | 2013-11-22 | 1 | -6/+5 |
| | | |||||
* | | Issue #17276: MD5 as default digestmod for HMAC is deprecated. The HMAC | Christian Heimes | 2013-11-20 | 1 | -2/+2 |
| | | | | | | | | module supports digestmod names, e.g. hmac.HMAC('sha1'). | ||||
* | | Merge. | Richard Oudkerk | 2013-11-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix handling of SystemExit and exit code. Patch by Brodie Rao. | Richard Oudkerk | 2013-11-17 | 1 | -1/+1 |
| | |