Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-31019: Fix multiprocessing.Process.is_alive() (#2875) (#2882) | Victor Stinner | 2017-07-26 | 1 | -2/+8 |
| | | | | | | | multiprocessing.Process.is_alive() now removes the process from the _children set if the process completed. The change prevents leaking "dangling" processes. (cherry picked from commit 2db64823c20538a6cfc6033661fab5711d2d4585) | ||||
* | [3.6] bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027) (#2881) (#2883) | Victor Stinner | 2017-07-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | * bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027) multiprocessing.Queue.get() with a timeout now polls its reader in non-blocking mode if it succeeded to aquire the lock but the acquire took longer than the timeout. Co-Authored-By: Grzegorz Grzywacz <grzgrzgrz3@gmail.com> (cherry picked from commit 1b7863c3b6519c6e134c28cab8b8af0dea43e375) * bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (#2148) _test_multiprocessing.test_queue_feeder_donot_stop_onexc() now uses a timeout of 1 second on Queue.get(), instead of 0.1 second, for slow buildbots. (cherry picked from commit 8f6eeaf21cdf4aea25fdefeec814a1ce07453fe9) (cherry picked from commit e42339d3a08a8fde3349722def85d7a8e49899be) | ||||
* | [2.7] Clear potential ref cycle between Process and Process target (GH-2470) ↵ | Antoine Pitrou | 2017-06-28 | 1 | -0/+3 |
| | | | | | | | | | | | (#2473) * 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) | ||||
* | [2.7] bpo-24484: Avoid race condition in multiprocessing cleanup (GH-2159) ↵ | Antoine Pitrou | 2017-06-13 | 1 | -0/+3 |
| | | | | | | | | | | | | | (#2168) * 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) | ||||
* | [2.7] bpo-30414: multiprocessing.Queue._feed do not break from main loop on ↵ | Antoine Pitrou | 2017-05-25 | 1 | -10/+8 |
| | | | | | | | | | | | | | | | | | | exc (GH-1683) (#1817) * 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-26434: Fix multiprocessing grandchilds in a Windows service (GH-1167) | Marc Schlaich | 2017-05-19 | 1 | -1/+2 |
| | | | Patch by Davin with help from Marc. | ||||
* | bpo-29861: release references to multiprocessing Pool tasks (#743) (#803) | 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 #28998: More APIs now support longs as well as ints. | Serhiy Storchaka | 2016-12-27 | 3 | -5/+5 |
| | |||||
* | 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 |
| | |||||
* | Close #10128: don't rerun __main__.py in multiprocessing | Nick Coghlan | 2015-11-19 | 1 | -1/+15 |
| | | | | | | | | - backports issue #10845's mitigation of incompatibilities between the multiprocessing module and directory and zipfile execution - Multiprocessing on Windows will now automatically skip rerunning top level __main__.py modules in spawned processes, rather than failing with AssertionError | ||||
* | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 2 | -6/+14 |
| | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
* | 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 #22853: Fixed a deadlock when use multiprocessing.Queue at import time. | Serhiy Storchaka | 2015-03-06 | 1 | -6/+4 |
| | | | | Patch by Florian Finkernagel and Davin Potts. | ||||
* | Issue #21849: Fixed xmlrpclib serialization of non-ASCII unicode strings in | Serhiy Storchaka | 2015-02-13 | 2 | -3/+8 |
| | | | | the multiprocessing module. | ||||
* | Fixed bugs in reprs of CookieJar and multiprocessing.dummy.Value. | Serhiy Storchaka | 2014-07-22 | 1 | -1/+1 |
| | |||||
* | do not generate pipe names in the temporary dir | Benjamin Peterson | 2014-04-14 | 1 | -1/+1 |
| | |||||
* | Issue #14548: Make multiprocessing finalizers check pid before | Richard Oudkerk | 2014-01-23 | 1 | -3/+9 |
| | | | | | running to cope with possibility of gc running just after fork. (Backport from 3.x.) | ||||
* | Fix handling of SystemExit and exit code. Patch by Brodie Rao. | Richard Oudkerk | 2013-11-17 | 1 | -1/+1 |
| | |||||
* | Issue #19425 -- a pickling error should not cause pool to hang. | Richard Oudkerk | 2013-10-28 | 1 | -5/+9 |
| | |||||
* | #18705: fix a number of typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
| | |||||
* | Issue #18455: multiprocessing should not retry connect() with same socket. | Richard Oudkerk | 2013-07-15 | 1 | -3/+4 |
| | |||||
* | Issue #17261: Ensure multiprocessing's proxies use proper address. | Richard Oudkerk | 2013-07-02 | 1 | -0/+1 |
| | |||||
* | Issue #17097: Make multiprocessing ignore EINTR. | Richard Oudkerk | 2013-07-01 | 1 | -1/+8 |
| | |||||
* | - Fix typos in the multiprocessing module. | doko@ubuntu.com | 2013-05-15 | 1 | -1/+1 |
| | |||||
* | Issue #17805: Add AsyncResult alias for ApplyResult | Richard Oudkerk | 2013-05-06 | 1 | -0/+2 |
| | |||||
* | Issue #17555: Fix ForkAwareThreadLock so that size of after fork | Richard Oudkerk | 2013-04-17 | 1 | -1/+4 |
| | | | | registry does not grow exponentially with generation of process. | ||||
* | Issue #12098: multiprocessing on Windows now starts child processes | Kristján Valur Jónsson | 2013-03-19 | 2 | -1/+3 |
| | | | | | using the same sys.flags as the current process. Backport from default branch. | ||||
* | Issue #17018: Make Process.join() retry if os.waitpid() fails with EINTR. | Richard Oudkerk | 2013-02-26 | 1 | -6/+12 |
| | |||||
* | Issue #15881: Fixed atexit hook in multiprocessing. | Benjamin Peterson | 2013-02-02 | 1 | -9/+32 |
| | |||||
* | Issue #10527: Remove dead code | Richard Oudkerk | 2013-01-15 | 1 | -23/+0 |
| | |||||
* | issue 10527: fix missing import | Giampaolo Rodola' | 2013-01-03 | 1 | -0/+1 |
| | |||||
* | Fix issue 10527: make multiprocessing use poll() instead of select() if ↵ | Giampaolo Rodola' | 2012-12-31 | 1 | -0/+21 |
| | | | | available. | ||||
* | Issue #15646: Prevent equivalent of a fork bomb when using multiprocessing | Richard Oudkerk | 2012-08-14 | 1 | -1/+1 |
| | | | | on Windows without the "if __name__ == '__main__'" idiom. | ||||
* | Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses. | Richard Oudkerk | 2012-07-27 | 1 | -0/+5 |
| | | | | Original patch by J Derek Wilson. | ||||
* | Issue #15101: Make pool finalizer avoid joining current thread | Richard Oudkerk | 2012-06-18 | 1 | -3/+6 |
| | |||||
* | Issue #13854: Properly handle non-integer, non-string arg to SystemExit | Richard Oudkerk | 2012-06-06 | 1 | -3/+3 |
| | | | | | Previously multiprocessing only expected int or str. It also wrongly used an exit code of 1 when the argument was a string instead of zero. | ||||
* | Issue #12157: pool.map() does not handle empty iterable correctly | Richard Oudkerk | 2012-06-06 | 1 | -0/+1 |
| | | | | Initial patch by mouad | ||||
* | Issue #14881: Allow normal non-main thread to spawn a dummy process | Richard Oudkerk | 2012-05-25 | 1 | -1/+2 |
| | | | | Fix suggested by Itay Brandes | ||||
* | Fix for issue 14725 for 2.7 branch | Richard Oudkerk | 2012-05-05 | 1 | -1/+4 |
| | |||||
* | Issue #9400: Partial backport of fix for #9244 | Richard Oudkerk | 2012-05-02 | 1 | -1/+24 |
| | | | | | | | | | | In multiprocessing, a pool worker process would die if the result/error could not be pickled. This could cause pool methods to hang. In 3.x this was fixed by 0aa8af79359d (which also added an error_callback argument to some methods), but the fix was not back ported. | ||||
* | Issue #8184: Fix a potential file descriptor leak when a | Charles-François Natali | 2012-02-04 | 1 | -4/+8 |
| | | | | multiprocessing.Connection socket can't be bound. | ||||
* | Issue #13565: Increase multiprocessing's server socket backlog, to avoid | Charles-François Natali | 2011-12-23 | 1 | -1/+1 |
| | | | | dropped connections in case of simultaneous connection requests. | ||||
* | Issue #13373: multiprocessing.Queue.get() could sometimes block indefinitely | Antoine Pitrou | 2011-11-09 | 1 | -1/+5 |
| | | | | when called with a timeout. Patch by Arnaud Ysmal. | ||||
* | Issue #10332: multiprocessing: fix a race condition when a Pool is closed | Charles-François Natali | 2011-10-24 | 1 | -1/+5 |
| | | | | before all tasks have completed. | ||||
* | Remove duplication. | Ezio Melotti | 2011-10-19 | 1 | -1/+1 |
| | |||||
* | Issue #4106: Fix occasional exceptions printed out by multiprocessing on ↵ | Antoine Pitrou | 2011-08-24 | 1 | -7/+1 |
| | | | | | | | interpreter shutdown. This bug doesn't seem to exist on 3.2, where daemon threads are killed before Py_Finalize() is entered. | ||||
* | Issue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed by | Charles-François Natali | 2011-07-02 | 1 | -6/+33 |
| | | | | the garbage collector while the Heap lock is held. | ||||
* | Issue #12285: multiprocessing.Pool() raises a ValueError if the number of | Victor Stinner | 2011-06-20 | 1 | -0/+2 |
| | | | | processes if negative or null. | ||||
* | Fix #5162. Allow child spawning from Windows services (via pywin32). | brian.curtin | 2011-04-11 | 1 | -2/+3 |
| |