summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_multiprocessing.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Issue #19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-101-7/+7
|
* Issue #19599: Use a separate pool for test_terminate().Richard Oudkerk2013-11-211-12/+4
|
* Issue #19599: Increase sleep period.Richard Oudkerk2013-11-171-1/+1
|
* Fix handling of SystemExit and exit code. Patch by Brodie Rao.Richard Oudkerk2013-11-171-1/+1
|
* Issue #19425 -- a pickling error should not cause pool to hang.Richard Oudkerk2013-10-281-0/+10
|
* Issue #19112: avoid using function defined in method.Richard Oudkerk2013-09-291-8/+9
|
* move helper function into its test method (closes #19112)Benjamin Peterson2013-09-291-7/+6
|
* Issue #18792: Use "127.0.0.1" or "::1" instead of "localhost" as much as ↵Antoine Pitrou2013-08-211-2/+2
| | | | possible, since "localhost" goes through a DNS lookup under recent Windows versions.
* Issue #17097: Make multiprocessing ignore EINTR.Richard Oudkerk2013-07-011-1/+69
|
* Issue #17555: Fix ForkAwareThreadLock so that size of after forkRichard Oudkerk2013-04-171-1/+31
| | | | registry does not grow exponentially with generation of process.
* site.py is needed to set up pathsBenjamin Peterson2013-03-201-1/+1
|
* Issue #12098: multiprocessing on Windows now starts child processesKristján Valur Jónsson2013-03-191-1/+33
| | | | | 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 Oudkerk2013-02-261-0/+32
|
* Fix issue 10527: make multiprocessing use poll() instead of select() if ↵Giampaolo Rodola'2012-12-311-0/+1
| | | | available.
* Issue #15646: Prevent equivalent of a fork bomb when using multiprocessingRichard Oudkerk2012-08-141-1/+22
| | | | on Windows without the "if __name__ == '__main__'" idiom.
* Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses.Richard Oudkerk2012-07-271-1/+35
| | | | Original patch by J Derek Wilson.
* Issue #13854: Properly handle non-integer, non-string arg to SystemExitRichard Oudkerk2012-06-061-0/+30
| | | | | 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 correctlyRichard Oudkerk2012-06-061-3/+15
| | | | Initial patch by mouad
* Fix for issue 14725 for 2.7 branchRichard Oudkerk2012-05-051-0/+17
|
* Issue #9400: Partial backport of fix for #9244Richard Oudkerk2012-05-021-0/+18
| | | | | | | | | | 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 #12156: Skip test_multiprocessing on systems which don't support enoughCharles-François Natali2011-11-221-0/+18
| | | | POSIX semaphores (among which FreeBSD < 8).
* Issue #10332: multiprocessing: fix a race condition when a Pool is closedCharles-François Natali2011-10-241-0/+14
| | | | before all tasks have completed.
* Issue #12981: test_multiprocessing: catch ImportError when importingCharles-François Natali2011-09-211-2/+13
| | | | | multiprocessing.reduction, which may not be available (e.g. if the OS doesn't support FD passing over Unix domain sockets).
* Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor ↵Jesus Cea2011-09-211-0/+17
| | | | was actually received
* Fix issue #12948: multiprocessing test failures can hang the buildbotsJesus Cea2011-09-091-2/+0
|
* Close issue #12948: multiprocessing test failures can hang the buildbotsJesus Cea2011-09-091-3/+27
|
* Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.Antoine Pitrou2011-08-231-1/+82
| | | | Also added some tests.
* Issue #12352: In test_free_from_gc(), restore the GC thresholds even if the GCCharles-François Natali2011-07-021-4/+3
| | | | wasn't enabled at first.
* Issue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed byCharles-François Natali2011-07-021-0/+25
| | | | the garbage collector while the Heap lock is held.
* Issue #12285: multiprocessing.Pool() raises a ValueError if the number ofVictor Stinner2011-06-201-0/+3
| | | | processes if negative or null.
* Issue #11766: increase countdown waiting for a pool of processes to startAntoine Pitrou2011-04-061-1/+2
| | | | up. Hopefully fixes transient buildbot failures.
* Issue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects.Mark Dickinson2011-03-261-0/+15
|
* Issue #11673: Fix multiprocessing.[Raw]Array constructor to accept a size of ↵Mark Dickinson2011-03-251-0/+7
| | | | type long. Thanks Robert Kern.
* #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-3/+3
|
* Merged revisions 86694 via svnmerge fromAntoine Pitrou2010-11-221-4/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86694 | antoine.pitrou | 2010-11-22 17:26:21 +0100 (lun., 22 nov. 2010) | 3 lines Fix test_multiprocessing when ctypes isn't available ........
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-12/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
* Merged revisions 86130 via svnmerge fromAntoine Pitrou2010-11-021-24/+49
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86130 | antoine.pitrou | 2010-11-03 00:50:11 +0100 (mer., 03 nov. 2010) | 3 lines Issue #10173: test_multiprocessing shouldn't pickle TestCase instances ........
* Merged revisions 86077 via svnmerge fromBrian Curtin2010-11-011-1/+5
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86077 | brian.curtin | 2010-11-01 00:10:44 -0500 (Mon, 01 Nov 2010) | 3 lines Fix some ResourceErrors. Use a context manager for os.popen and explicitly close a socket. ........
* Merged revisions 85299 via svnmerge fromBrian Curtin2010-10-071-18/+12
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85299 | brian.curtin | 2010-10-06 20:12:19 -0500 (Wed, 06 Oct 2010) | 9 lines Fix #8584. Fix the skipping of a number of tests due to incorrect importing. This undoes a previous attempt to fix some of the skips. Value and copy come from sharedctypes rather than plain ctypes, and the test skipping is then done at the class level rather than test-by-test. There are zero skipped tests after the fix. ........
* Issue #8576: Remove use of find_unused_port() in test_smtplib andAntoine Pitrou2010-04-301-3/+3
| | | | test_multiprocessing. Patch by Paul Moore.
* Issue #7449, part 4: skip test_multiprocessing if thread support is disabledVictor Stinner2010-04-271-3/+4
| | | | | | import threading after _multiprocessing to raise a more revelant error message: "No module named _multiprocessing". _multiprocessing is not compiled without thread support.
* Fix typo in commentNick Coghlan2010-04-101-1/+1
|
* Try to turn some buildbots green by allowing test_multiprocessing to pass ↵Nick Coghlan2010-04-101-6/+22
| | | | even if it hits the sys.exc_clear code in the threading module, and improve the test coverage by making the ctypes dependencies a bit more granular (two of the cited ctypes objects don't exist on my system)
* Skip tests which depend on multiprocessing.sharedctypes, if _ctypes is not ↵Florent Xicluna2010-03-241-31/+33
| | | | available.
* #7092 - Silence more py3k deprecation warnings, using ↵Florent Xicluna2010-03-211-1/+3
| | | | test_support.check_py3k_warnings() helper.
* #7805: wait until all workers are started before collecting their PIDsFlorent Xicluna2010-03-041-1/+9
|
* Fix import/access for some identifiers. _TestSharedCTypes does not seem to ↵Georg Brandl2010-02-061-3/+3
| | | | be executed?
* Issue #6963: Added maxtasksperchild argument to multiprocessing.PoolJesse Noller2010-01-271-1/+25
|
* use assert[Not]IsInstance where appropriateEzio Melotti2010-01-241-1/+1
|