| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
00169 #
Use SHA-256 rather than implicitly using MD5 within the challenge handling
in multiprocessing.connection
Sent upstream as http://bugs.python.org/issue17258
(rhbz#879695)
|
|
|
|
|
| |
deleted (GH-9686)" (GH-10970)
This reverts commit 4a7dd30f5810e8861a3834159a222ab32d5c97d0.
|
|
|
|
|
| |
(GH-9686)
Fix a reference issue inside multiprocessing.Pool that caused the pool to remain alive if it was deleted without being closed or terminated explicitly.
|
|
|
|
|
|
|
| |
(GH-9113). (GH-9500)
(cherry picked from commit e0e5065daef36dafe10a46eaa8b7800274d73062)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
|
|
|
|
| |
(#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)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
| |
Patch by Davin with help from Marc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 ?
|
| |
|
|
|
|
| |
server to client for certain exceptions
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.
|
|
|
|
|
| |
handle exceptions raised by an iterator. Patch by Alon Diamant and Davin
Potts.
|
|
|
|
| |
Patch by Florian Finkernagel and Davin Potts.
|
|
|
|
| |
the multiprocessing module.
|
| |
|
| |
|
|
|
|
|
| |
running to cope with possibility of gc running just after fork.
(Backport from 3.x.)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
registry does not grow exponentially with generation of process.
|
|
|
|
|
| |
using the same sys.flags as the current process.
Backport from default branch.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
available.
|
|
|
|
| |
on Windows without the "if __name__ == '__main__'" idiom.
|
|
|
|
| |
Original patch by J Derek Wilson.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
Initial patch by mouad
|
|
|
|
| |
Fix suggested by Itay Brandes
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
multiprocessing.Connection socket can't be bound.
|
|
|
|
| |
dropped connections in case of simultaneous connection requests.
|
|
|
|
| |
when called with a timeout. Patch by Arnaud Ysmal.
|
|
|
|
| |
before all tasks have completed.
|
| |
|