summaryrefslogtreecommitdiffstats
path: root/Lib/test/_test_multiprocessing.py
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (#2148)Victor Stinner2017-06-131-1/+2
| | | | | _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.
* bpo-24484: Avoid race condition in multiprocessing cleanup (#2159)Antoine Pitrou2017-06-131-0/+63
| | | | | | | | | | | * 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
* Fix bpo-30589: improve Process.exitcode with forkserver (#1989)Antoine Pitrou2017-06-121-2/+37
| | | | | | | | * Fix bpo-30589: improve Process.exitcode with forkserver When the child is killed, Process.exitcode should return -signum, not 255. * Add Misc/NEWS
* bpo-30414: multiprocessing.Queue._feed do not break from main loop on exc ↵grzgrzgrz32017-05-251-0/+14
| | | | | | | | | | | | | | | | | | (#1683) * 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.
* bpo-30301: Fix AttributeError when using SimpleQueue.empty() (#1601)Xiang Zhang2017-05-171-0/+36
| | | | | Under *spawn* and *forkserver* start methods, SimpleQueue.empty() could raise AttributeError due to not setting _poll in __setstate__.
* Relax test timing (bpo-29861) to avoid sporadic failures (#1120)Antoine Pitrou2017-04-141-0/+1
|
* bpo-28699: fix abnormal behaviour of pools in multiprocessing.pool (GH-693)Xiang Zhang2017-03-291-1/+58
| | | | | 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)Antoine Pitrou2017-03-241-0/+28
| | | | | | | | | | * 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
* Issue #28779: multiprocessing.set_forkserver_preload() would crash the ↵Antoine Pitrou2016-12-101-0/+13
|\ | | | | | | forkserver process if a preloaded module instantiated some multiprocessing objects such as locks.
| * Issue #28779: multiprocessing.set_forkserver_preload() would crash the ↵Antoine Pitrou2016-12-101-0/+13
| | | | | | | | forkserver process if a preloaded module instantiated some multiprocessing objects such as locks.
| * Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-071-1/+1
| |
| * Issue #25654:Victor Stinner2016-03-251-5/+13
| | | | | | | | | | | | | | | | | | * 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.
* | #27364: fix "incorrect" uses of escape character in the stdlib.R David Murray2016-09-081-1/+1
| | | | | | | | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter.
* | Fixes issue #6766: Updated multiprocessing Proxy Objects to support nestingDavin Potts2016-09-071-2/+68
| |
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger2016-08-301-1/+1
| |
* | Issue #25654:Victor Stinner2016-03-251-5/+13
| | | | | | | | | | | | | | | | | | * 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.
* | Issue #26523: The multiprocessing thread pool (multiprocessing.dummy.Pool) ↵Antoine Pitrou2016-03-151-9/+16
|\ \ | |/ | | | | was untested.
| * Issue #26523: The multiprocessing thread pool (multiprocessing.dummy.Pool) ↵Antoine Pitrou2016-03-151-9/+16
| | | | | | | | was untested.
* | Issue #23992: multiprocessing: make MapResult not fail-fast upon exception.Charles-François Natali2016-02-101-0/+24
|/
* Fix remaining tests and remove an unused import.Berker Peksag2015-05-061-3/+3
|
* Issue #23713: Fixed fragility of test_imap_unordered_handle_iterable_exception.Serhiy Storchaka2015-04-231-2/+8
|\ | | | | | | Patch by Davin Potts.
| * Issue #23713: Fixed fragility of test_imap_unordered_handle_iterable_exception.Serhiy Storchaka2015-04-231-2/+8
| | | | | | | | Patch by Davin Potts.
* | Issue #23051: multiprocessing.Pool methods imap() and imap_unordered() nowSerhiy Storchaka2015-03-131-0/+46
|\ \ | |/ | | | | | | handle exceptions raised by an iterator. Patch by Alon Diamant and Davin Potts.
| * Issue #23051: multiprocessing.Pool methods imap() and imap_unordered() nowSerhiy Storchaka2015-03-131-0/+46
| | | | | | | | | | handle exceptions raised by an iterator. Patch by Alon Diamant and Davin Potts.
* | Issue #22853: Added regression test for using multiprocessing.Queue at importSerhiy Storchaka2015-03-061-0/+21
|\ \ | |/ | | | | time. Patch by Davin Potts.
| * Issue #22853: Added regression test for using multiprocessing.Queue at importSerhiy Storchaka2015-03-061-0/+21
| | | | | | | | time. Patch by Davin Potts.
* | Issue #21849: Ported from 2.7 tests for non-ASCII data.Serhiy Storchaka2015-02-131-7/+13
|\ \ | |/
| * Issue #21849: Ported from 2.7 tests for non-ASCII data.Serhiy Storchaka2015-02-131-7/+13
| |
* | (Merge 3.4) test_multiprocessing: tolerate a delta of 30 ms because of badVictor Stinner2015-02-051-2/+4
|\ \ | |/ | | | | clock resolution on Windows
| * test_multiprocessing: tolerate a delta of 30 ms because of bad clock resolutionVictor Stinner2015-02-051-2/+4
| | | | | | | | on Windows
* | Issue #21566: Make use of socket.listen() default backlog.Charles-François Natali2014-07-231-2/+2
|/
* Issue #20980: Stop wrapping exception when using ThreadPool.Richard Oudkerk2014-03-231-0/+11
|
* Issue #20114: Double timeout in test_semaphore_tracker() to reduceRichard Oudkerk2014-02-211-1/+1
| | | | chance of sporadic failures.
* Issue #20315: Removed support for backward compatibility with early 2.x ↵Serhiy Storchaka2014-01-201-3/+0
| | | | | | | versions. Removed backward compatibility alias curses.window.nooutrefresh which should be removed in 2.3.
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-2/+0
| | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts.
* Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-081-11/+11
|
* Merge.Richard Oudkerk2013-11-171-1/+1
|
* Merge.Richard Oudkerk2013-11-171-1/+1
|
* Merge.Richard Oudkerk2013-11-021-1/+1
|
* Merge.Richard Oudkerk2013-10-281-0/+10
|
* Remove test_sigterm().Richard Oudkerk2013-10-181-41/+0
|
* Fix signal handler in test.Richard Oudkerk2013-10-171-1/+5
|
* Try doing a raw test of os.fork()/os.kill().Richard Oudkerk2013-10-171-5/+36
|
* Stop trying to use strace, but add a sleep before terminate().Richard Oudkerk2013-10-171-8/+4
|
* Try strace instead of gdb to see what wedged child is doing.Richard Oudkerk2013-10-171-4/+6
|
* Try to print a backtrace of wedged child process in test.Richard Oudkerk2013-10-171-0/+13
|
* Issue #18999: Make multiprocessing use context objects.Richard Oudkerk2013-10-161-5/+37
| | | | | This allows different parts of a program to use different methods for starting processes without interfering with each other.
* MergeRichard Oudkerk2013-10-151-1/+1
|
* Merge.Richard Oudkerk2013-10-121-2/+14
|
* Merge.Richard Oudkerk2013-09-291-8/+9
|