summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_multiprocessing.py
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* | Issue #13812: When a multiprocessing Process child raises an exception, ↵Antoine Pitrou2012-01-271-0/+23
|\ \ | |/ | | | | flush stderr after printing the exception traceback.
| * Issue #13812: When a multiprocessing Process child raises an exception, ↵Antoine Pitrou2012-01-271-0/+23
| | | | | | | | flush stderr after printing the exception traceback.
| * 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 #12708: Add starmap() and starmap_async() methods (similar to ↵Antoine Pitrou2011-12-211-0/+18
| | | | | | | | | | | | itertools.starmap()) to multiprocessing.Pool. Patch by Hynek Schlawack.
* | 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 #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-0/+1
|\ \ | |/ | | | | | | multiprocessing.reduction, which may not be available (e.g. if the OS doesn't support FD passing over Unix domain sockets).
| * 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
| * Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor ↵Jesus Cea2011-09-211-0/+17
| | | | | | | | was actually received
* | Merge 3.2: test_multiprocessing removes temporary filesVictor Stinner2011-09-201-0/+2
|\ \ | |/
| * test_multiprocessing removes temporary filesVictor Stinner2011-09-201-0/+2
| |
* | Issue #12981: test_multiprocessing: catch ImportError when importingCharles-François Natali2011-09-201-2/+12
| | | | | | | | | | multiprocessing.reduction, which may not be available (e.g. if the OS doesn't support FD passing over Unix domain sockets).
* | Fix issue #12948: multiprocessing test failures can hang the buildbotsJesus Cea2011-09-091-2/+0
|\ \ | |/
| * 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
|\ \ | |/
| * 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/+81
|\ \ | |/ | | | | Also added some tests.
| * Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.Antoine Pitrou2011-08-231-1/+81
| | | | | | | | Also added some tests.
* | Merge issue #12352: Fix a deadlock in multiprocessing.Heap when a block isCharles-François Natali2011-07-021-0/+24
|\ \ | |/ | | | | freed by the garbage collector while the Heap lock is held.
| * Merge issue #12352: Fix a deadlock in multiprocessing.Heap when a block isCharles-François Natali2011-07-021-0/+24
| |\ | | | | | | | | | freed by the garbage collector while the Heap lock is held.
| | * Issue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed byCharles-François Natali2011-07-021-0/+24
| | | | | | | | | | | | the garbage collector while the Heap lock is held.
* | | (merge 3.2) Issue #12285: multiprocessing.Pool() raises a ValueError if theVictor Stinner2011-06-201-0/+3
|\ \ \ | |/ / | | | | | | number of processes if negative or null.
| * | Issue #12285: multiprocessing.Pool() raises a ValueError if the number ofVictor Stinner2011-06-201-0/+3
| | | | | | | | | | | | processes if negative or null.
* | | Issue #12040: Expose a new attribute `sentinel` on instances ofAntoine Pitrou2011-06-061-0/+37
| | | | | | | | | | | | | | | :class:`multiprocessing.Process`. Also, fix Process.join() to not use polling anymore, when given a timeout.
* | | Issue #11743: Rewrite multiprocessing connection classes in pure Python.Antoine Pitrou2011-05-091-3/+9
| | |
* | | Issue #11790: Fix sporadic failures in ↵Antoine Pitrou2011-04-161-1/+7
|\ \ \ | |/ / | | | | | | test_multiprocessing.WithProcessesTestCondition.
| * | Issue #11790: Fix sporadic failures in ↵Antoine Pitrou2011-04-161-1/+7
| | | | | | | | | | | | test_multiprocessing.WithProcessesTestCondition.
* | | Issue #11766: increase countdown waiting for a pool of processes to startAntoine Pitrou2011-04-061-1/+2
|\ \ \ | |/ / | | | | | | up. Hopefully fixes transient buildbot failures.
| * | Issue #11766: increase countdown waiting for a pool of processes to startAntoine Pitrou2011-04-061-1/+2
| | | | | | | | | | | | up. Hopefully fixes transient buildbot failures.
* | | Try to fix sporadic test_multiprocessing failureAntoine Pitrou2011-04-051-1/+11
|\ \ \ | |/ /
| * | Try to fix sporadic test_multiprocessing failureAntoine Pitrou2011-04-051-1/+11
| |\ \ | | |/
| | * Try to fix sporadic test_multiprocessing failureAntoine Pitrou2011-04-051-1/+11
| | |
* | | Merge #11675Mark Dickinson2011-03-261-0/+15
|\ \ \ | |/ /
| * | Merge #11675Mark Dickinson2011-03-261-0/+15
| |\ \ | | |/
| | * Issue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects.Mark Dickinson2011-03-261-0/+15
| | |
* | | Merge 3.2Victor Stinner2011-03-241-1/+1
|\ \ \ | |/ /
| * | Merge 3.1Victor Stinner2011-03-241-1/+1
| |\ \ | | |/
| | * test_multiprocessing: use assertLess() to see the timeout on errorVictor Stinner2011-03-241-1/+1
| | |
* | | Relax timing check (seen a buildbot failure on this)Antoine Pitrou2011-03-211-1/+1
|\ \ \ | |/ /