Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #15064: Make BaseManager.__enter__() start server if necessary. | Richard Oudkerk | 2012-06-18 | 1 | -0/+3 |
| | |||||
* | Issue #15064: Implement context manager protocol for multiprocessing types | Richard Oudkerk | 2012-06-18 | 3 | -1/+35 |
| | |||||
* | Issue #15101: Make pool finalizer avoid joining current thread. | Richard Oudkerk | 2012-06-18 | 1 | -3/+6 |
|\ | |||||
| * | Issue #15101: Make pool finalizer avoid joining current thread. | Richard Oudkerk | 2012-06-18 | 1 | -3/+6 |
| | | |||||
* | | Increase timeout used when waiting for manager to shutdown cleanly | Richard Oudkerk | 2012-06-15 | 1 | -1/+1 |
| | | | | | | | | before resorting to terminate() | ||||
* | | Issue #14059: Implement multiprocessing.Barrier | Richard Oudkerk | 2012-06-15 | 4 | -4/+72 |
| | | |||||
* | | Issue #13841: Make child processes exit using sys.exit() on Windows | Richard Oudkerk | 2012-06-14 | 3 | -54/+46 |
| | | |||||
* | | Issue #3518: Remove references to non-existent BaseManager.from_address() | Richard Oudkerk | 2012-06-11 | 1 | -4/+0 |
| | | | | | | | | method | ||||
* | | Merge fixes for #13854 and #12157. | Richard Oudkerk | 2012-06-07 | 2 | -3/+4 |
|\ \ | |/ | |||||
| * | Issue #13854: Properly handle non-integer, non-string arg to SystemExit | Richard Oudkerk | 2012-06-06 | 1 | -3/+3 |
| | | | | | | | | | | 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 correctly | Richard Oudkerk | 2012-06-06 | 1 | -0/+1 |
| | | | | | | | | Initial patch by mouad | ||||
* | | Prevent handle leak if CreateProcess() fails in multiprocessing | Richard Oudkerk | 2012-06-04 | 1 | -25/+27 |
| | | |||||
* | | Fix potential NameError in multiprocessing.Condition.wait() | Richard Oudkerk | 2012-06-04 | 1 | -2/+1 |
| | | |||||
* | | Make Finalize reserve a reference to os.getpid in case called at shutdown | Richard Oudkerk | 2012-06-04 | 1 | -2/+2 |
| | | |||||
* | | Use Python 3.x-style keyword only arg in Array() | Richard Oudkerk | 2012-05-29 | 2 | -9/+6 |
| | | | | | | | | | | | | Previously a Python 2.x compatible hack was used for multiprocessing.sharedctypes.Array(). Also the documented signature was wrong. | ||||
* | | Remove __getslice__, __setslice__, __delslice__ methods from proxies | Richard Oudkerk | 2012-05-29 | 1 | -6/+5 |
| | | | | | | | | Proxy classes in multiprocessing do not need these methods in Python 3.x. | ||||
* | | Make multiprocessing's shared memory use memoryview instead of raw pointer | Richard Oudkerk | 2012-05-26 | 2 | -9/+5 |
| | | |||||
* | | Issue #14548: Make multiprocessing finalizers check pid before running | Richard Oudkerk | 2012-05-25 | 1 | -3/+9 |
| | | | | | | | | This protects from possibilty of gc running just after fork. | ||||
* | | Issue #12091: simplify ApplyResult and MapResult with threading.Event | Richard Oudkerk | 2012-05-25 | 1 | -30/+9 |
| | | | | | | | | Patch by Charles-François Natali | ||||
* | | Merge | Richard Oudkerk | 2012-05-25 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Issue #14881: Allow normal non-main thread to spawn a dummy process | Richard Oudkerk | 2012-05-25 | 1 | -1/+2 |
| | | | | | | | | Fix suggested by Itay Brandes | ||||
| * | Fix for issue 14725 for 3.2 branch | Richard Oudkerk | 2012-05-05 | 1 | -1/+4 |
| | | |||||
* | | Fix whitespace | Antoine Pitrou | 2012-05-18 | 1 | -1/+0 |
| | | |||||
* | | Move private function _args_from_interpreter_flags() to subprocess.py, so | Antoine Pitrou | 2012-05-18 | 1 | -29/+1 |
| | | | | | | | | | | that it can be imported when threads are disabled. (followup to issue #12098) | ||||
* | | #12098: Make multiprocessing's child processes inherit sys.flags on Windows | Richard Oudkerk | 2012-05-18 | 2 | -1/+33 |
| | | | | | | | | Initial patch by Sergey Mezentsev. | ||||
* | | Issue #14753: Make multiprocessing treat negative timeouts as it did in 3.2 | Richard Oudkerk | 2012-05-10 | 3 | -27/+4 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | Make AcquirerProxy.acquire() support timeout argument | Richard Oudkerk | 2012-05-06 | 1 | -2/+3 |
| | | |||||
* | | Fix for Issue 14725 for 3.3 branch. | Richard Oudkerk | 2012-05-05 | 1 | -9/+17 |
| | | |||||
* | | Fix dangling warning for test_multiprocessing | Richard Oudkerk | 2012-05-03 | 1 | -1/+4 |
| | | |||||
* | | Mark multiprocessing files with "Licensed to PSF under a Contributor Agreement" | Richard Oudkerk | 2012-04-30 | 12 | -312/+12 |
| | | | | | | | | instead of BSD licence. | ||||
* | | Issue #14666: stop multiprocessing's resource-sharing thread after the tests ↵ | Antoine Pitrou | 2012-04-27 | 1 | -1/+28 |
| | | | | | | | | | | | | | | | | 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 Pitrou | 2012-04-24 | 4 | -159/+203 |
| | | | | | | | | | | | | multiprocessing Connections. Patch by Richard Oudkerk (sbt). | ||||
* | | Issue #11750: The Windows API functions scattered in the _subprocess and | Antoine Pitrou | 2012-04-18 | 4 | -84/+83 |
| | | | | | | | | | | _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 Natali | 2012-04-17 | 2 | -0/+38 |
| | | |||||
* | | Issue #14522: Avoid duplicating socket handles in multiprocessing.connection. | Antoine Pitrou | 2012-04-07 | 1 | -12/+3 |
| | | | | | | | | Patch by sbt. | ||||
* | | Issue #14482: Raise a ValueError, not a NameError, when trying to create | Antoine Pitrou | 2012-04-03 | 1 | -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 create | Antoine Pitrou | 2012-04-03 | 1 | -0/+4 |
| | | | | | | | | | | 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 create | Antoine Pitrou | 2012-04-01 | 1 | -0/+9 |
|\ \ | |/ | | | | | | | 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 create | Antoine Pitrou | 2012-04-01 | 1 | -0/+9 |
| | | | | | | | | | | a multiprocessing Client or Listener with an AF_PIPE type address under non-Windows platforms. Patch by Popa Claudiu. | ||||
* | | Issue #14335: multiprocessing's custom Pickler subclass now inherits from ↵ | Antoine Pitrou | 2012-03-16 | 1 | -9/+9 |
| | | | | | | | | | | | | the C-accelerated implementation. Patch by sbt. | ||||
* | | Issue #12328: Fix multiprocessing's use of overlapped I/O on Windows. | Antoine Pitrou | 2012-03-05 | 2 | -116/+217 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #11836: document and expose multiprocessing.SimpleQueue | Sandro Tosi | 2012-02-15 | 1 | -1/+8 |
|\ \ | |/ | |||||
| * | Issue #8184: Fix a potential file descriptor leak when a | Charles-François Natali | 2012-02-04 | 1 | -4/+8 |
| | | | | | | | | multiprocessing.Connection socket can't be bound. | ||||
* | | Issue #8184: multiprocessing: On Windows, don't set SO_REUSEADDR on Connection | Charles-François Natali | 2012-02-08 | 1 | -3/+8 |
| | | | | | | | | | | 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 #8184: Fix a potential file descriptor leak when a | Charles-François Natali | 2012-02-04 | 1 | -4/+8 |
| | | | | | | | | multiprocessing.Connection socket can't be bound. | ||||
* | | Issue #13812: When a multiprocessing Process child raises an exception, ↵ | Antoine Pitrou | 2012-01-27 | 2 | -5/+4 |
|\ \ | |/ | | | | | flush stderr after printing the exception traceback. | ||||
| * | Issue #13812: When a multiprocessing Process child raises an exception, ↵ | Antoine Pitrou | 2012-01-27 | 2 | -5/+4 |
| | | | | | | | | flush stderr after printing the exception traceback. | ||||
* | | Issue #13565: Increase multiprocessing's server socket backlog, to avoid | Charles-François Natali | 2011-12-23 | 1 | -1/+1 |
|\ \ | |/ | | | | | dropped connections in case of simultaneous connection requests. | ||||
| * | Issue #13565: Increase multiprocessing's server socket backlog, to avoid | Charles-François Natali | 2011-12-23 | 1 | -1/+1 |
| | | | | | | | | dropped connections in case of simultaneous connection requests. | ||||
* | | Issue #12708: Add starmap() and starmap_async() methods (similar to ↵ | Antoine Pitrou | 2011-12-21 | 2 | -3/+32 |
| | | | | | | | | | | | | itertools.starmap()) to multiprocessing.Pool. Patch by Hynek Schlawack. |