summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_multiprocessing.py
Commit message (Collapse)AuthorAgeFilesLines
* MergeRichard Oudkerk2013-02-261-0/+32
|\
| * Issue #17018: Make Process.join() retry if os.waitpid() fails with EINTR.Richard Oudkerk2013-02-261-0/+32
| |
* | fix for previous commit related to issue 10527 which didn't have the ↵Giampaolo Rodola'2013-01-141-1/+1
| | | | | | | | intended effect as per http://bugs.python.org/issue10527#msg179895
* | Issue #16955: Fix the poll() method for multiprocessing's socketRichard Oudkerk2013-01-131-0/+11
| | | | | | | | connections on Windows.
* | Fix issue 10527: make multiprocessing use poll() instead of select() if ↵Giampaolo Rodola'2012-12-311-2/+4
|\ \ | |/ | | | | available.
| * Fix issue 10527: make multiprocessing use poll() instead of select() if ↵Giampaolo Rodola'2012-12-311-0/+1
| | | | | | | | available.
* | #16307: Fix multiprocessing.Pool.map_async not calling its callbacksHynek Schlawack2012-10-271-0/+17
| | | | | | | | Patch by Janne Karila.
* | raise a ValueError instead of an AssertionError when pool is an invalid stateBenjamin Peterson2012-09-251-1/+2
| |
* | Issue #14669: Fix pickling of connections and sockets on MacOSXRichard Oudkerk2012-08-161-2/+0
| | | | | | | | | | by sending/receiving an acknowledgment after file descriptor transfer. TestPicklingConnection has been reenabled for MacOSX.
* | Merge 3.2Richard Oudkerk2012-08-141-1/+22
|\ \ | |/
| * 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 #6056: Make multiprocessing use setblocking(True) on the sockets it uses.Richard Oudkerk2012-07-271-1/+35
| | | | | | | | Original patch by J Derek Wilson.
* | Issue #15064: Make BaseManager.__enter__() start server if necessary.Richard Oudkerk2012-06-181-6/+20
| |
* | Issue #15064: Implement context manager protocol for multiprocessing typesRichard Oudkerk2012-06-181-0/+35
| |
* | Fiddle with timeouts in barrier testsRichard Oudkerk2012-06-181-6/+6
| |
* | Fix _TestListener.ALLOWED_TYPES and add sanity checkRichard Oudkerk2012-06-151-1/+3
| |
* | Increase timeout used when waiting for manager to shutdown cleanlyRichard Oudkerk2012-06-151-0/+5
| | | | | | | | before resorting to terminate()
* | Fix for 2d2f206d040e so that test_multiprocessing does not depend on ctypesRichard Oudkerk2012-06-151-5/+9
| |
* | Issue #14059: Implement multiprocessing.BarrierRichard Oudkerk2012-06-151-3/+334
| |
* | Issue #13841: Make child processes exit using sys.exit() on WindowsRichard Oudkerk2012-06-141-0/+5
| |
* | Merge fixes for #13854 and #12157.Richard Oudkerk2012-06-071-3/+45
|\ \ | |/
| * 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 3.2 branchRichard Oudkerk2012-05-051-0/+17
| |
* | Add test for multiprocessing.Conditon.wait() and changset 3baeb5e13dd2Richard Oudkerk2012-06-051-0/+28
| |
* | #12098: Make multiprocessing's child processes inherit sys.flags on WindowsRichard Oudkerk2012-05-181-1/+34
| | | | | | | | Initial patch by Sergey Mezentsev.
* | Issue #14753: Make multiprocessing treat negative timeouts as it did in 3.2Richard Oudkerk2012-05-101-16/+28
| | | | | | | | | | | | | | | | In Python 3.2 and earlier, Process.join() and Connection.poll() treated negative timeouts as zero timeouts. Earlier versions from the 3.3 line of development treat them as infinite timeouts. The patch reverts to the old behaviour.
* | Issue #14727: Fix race in test_multiprocessingRichard Oudkerk2012-05-081-1/+1
| |
* | Minor fix for test_multiprocessingRichard Oudkerk2012-05-081-1/+1
| |
* | Make test_multiprocessing more lenient about another timeout checkRichard Oudkerk2012-05-061-4/+7
| |
* | Fix for Issue 14725 for 3.3 branch.Richard Oudkerk2012-05-051-0/+16
| |
* | Give test_multiprocessing better chance of avoiding timeout failures on WindowsRichard Oudkerk2012-05-041-7/+16
| |
* | Fix dangling warning for test_multiprocessingRichard Oudkerk2012-05-031-0/+3
| |
* | Make test_multiprocessing cleanup properlyRichard Oudkerk2012-05-021-8/+13
| | | | | | | | | | | | | | Previously, when an error was encountered some processes would not be stopped until atexit callbacks were run. On Windows that was too late to prevent a PermissionError when regrtest tried to remove the temp directory it ran the tests in.
* | Issue #14669: Skip multiprocessing connection pickling test on MacOSXRichard Oudkerk2012-04-301-0/+2
| | | | | | | | Passing of fds is unreliable on MacOSX, compare issues #6560 and #12958.
* | Minor fix for multiprocessing unit testRichard Oudkerk2012-04-301-1/+8
| | | | | | | | Read from socket might have returned partial message.
* | Issue #14666: stop multiprocessing's resource-sharing thread after the tests ↵Antoine Pitrou2012-04-271-0/+5
| | | | | | | | | | | | | | | | are done. Also, block delivery of signals to that thread. Patch by Richard Oudkerk. This will hopefully fix sporadic freezes on the FreeBSD 9.0 buildbot.
* | Issue #4892: multiprocessing Connections can now be transferred over ↵Antoine Pitrou2012-04-241-34/+69
| | | | | | | | | | | | multiprocessing Connections. Patch by Richard Oudkerk (sbt).
* | Issue #11750: The Windows API functions scattered in the _subprocess andAntoine Pitrou2012-04-181-1/+1
| | | | | | | | | | _multiprocessing.win32 modules now live in a single module "_winapi". Patch by sbt.
* | Issue #14087: multiprocessing: add Condition.wait_for(). Patch by sbt.Charles-François Natali2012-04-171-0/+67
| |
* | Issue #14482: Raise a ValueError, not a NameError, when trying to createAntoine Pitrou2012-04-031-0/+4
|\ \ | |/ | | | | | | a multiprocessing Client or Listener with an AF_UNIX type address under Windows. Patch by Popa Claudiu.
| * Issue #14482: Raise a ValueError, not a NameError, when trying to createAntoine Pitrou2012-04-031-0/+6
| | | | | | | | | | a multiprocessing Client or Listener with an AF_UNIX type address under Windows. Patch by Popa Claudiu.
* | Issue #14151: Raise a ValueError, not a NameError, when trying to createAntoine Pitrou2012-04-011-1/+13
|\ \ | |/ | | | | | | a multiprocessing Client or Listener with an AF_PIPE type address under non-Windows platforms. Patch by Popa Claudiu.
| * Issue #14151: Raise a ValueError, not a NameError, when trying to createAntoine Pitrou2012-04-011-1/+13
| | | | | | | | | | a multiprocessing Client or Listener with an AF_PIPE type address under non-Windows platforms. Patch by Popa Claudiu.
* | Relax timeout tests for weak Windows buildbotAntoine Pitrou2012-03-091-7/+7
| |
* | Remove a couple of local imports.Antoine Pitrou2012-03-061-5/+4
| |
* | Reap processes at test end to avoid false positives in reference leak detection.Antoine Pitrou2012-03-061-0/+2
| |
* | Issue #12328: Fix multiprocessing's use of overlapped I/O on Windows.Antoine Pitrou2012-03-051-1/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, add a multiprocessing.connection.wait(rlist, timeout=None) function for polling multiple objects at once. Patch by sbt. Complete changelist from sbt's patch: * Adds a wait(rlist, timeout=None) function for polling multiple objects at once. On Unix this is just a wrapper for select(rlist, [], [], timeout=None). * Removes use of the SentinelReady exception and the sentinels argument to certain methods. concurrent.futures.process has been changed to use wait() instead of SentinelReady. * Fixes bugs concerning PipeConnection.poll() and messages of zero length. * Fixes PipeListener.accept() to call ConnectNamedPipe() with overlapped=True. * Fixes Queue.empty() and SimpleQueue.empty() so that they are threadsafe on Windows. * Now PipeConnection.poll() and wait() will not modify the pipe except possibly by consuming a zero length message. (Previously poll() could consume a partial message.) * All of multiprocesing's pipe related blocking functions/methods are now interruptible by SIGINT on Windows.
* | Issue #8184: multiprocessing: On Windows, don't set SO_REUSEADDR on ConnectionCharles-François Natali2012-02-081-0/+12
| | | | | | | | | | sockets, and set FILE_FLAG_FIRST_PIPE_INSTANCE on named pipes, to make sure two listeners can't bind to the same socket/pipe (or any existing socket/pipe).