summaryrefslogtreecommitdiff
path: root/Lib/multiprocessing/connection.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #28053: Applying refactorings, docs and other cleanup to follow.Davin Potts2016-09-091-4/+4
|
* Issue #25899: Converted non-ASCII characters in docstrings and manpageSerhiy Storchaka2015-12-181-1/+1
| | | | to ASCII replacements. Original patch by Chris Angelico.
* Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-24/+9
|\ | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
| * Issue #18382: Zero-length messages are consumed by ReadFile on Windows 8 and ↵Steve Dower2015-03-021-24/+9
| |\ | | | | | | | | | later
| | * Issue #23285: PEP 475 -- Retry system calls failing with EINTR.Charles-Fran?ois Natali2015-02-071-15/+3
| | |
| | * Issue #22581: Use more "bytes-like object" throughout the docs and comments.Serhiy Storchaka2014-12-051-9/+6
| | |\
| | | * Simplify code in multiprocessing.Connection.send_bytes().Antoine Pitrou2014-07-311-9/+6
| | | | | | | | | | | | | | | | Followup to issue #20540; patch by Serhiy.
* | | | Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-5/+10
|/ / / | | | | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
* | | Issue #18382: Zero-length messages are consumed by ReadFile on Windows 8 and ↵Steve Dower2015-03-021-2/+11
|/ / | | | | | | later
* | Issue #22581: Use more "bytes-like object" throughout the docs and comments.Serhiy Storchaka2014-12-051-1/+1
|/
* do not generate pipe names in the temporary dirBenjamin Peterson2014-04-141-1/+1
|
* Issue #20976: pyflakes: Remove unused importsVictor Stinner2014-03-201-1/+0
|
* Issue #20978: pyflakes: fix undefined namesVictor Stinner2014-03-201-1/+1
|
* Issue #20540: Fix a performance regression (vs. Python 3.2) when layering a ↵Antoine Pitrou2014-02-081-6/+16
|\ | | | | | | | | | | multiprocessing Connection over a TCP socket. For small payloads, Nagle's algorithm would introduce idle delays before the entire transmission of a message.
| * Issue #20540: Fix a performance regression (vs. Python 3.2) when layering a ↵Antoine Pitrou2014-02-081-6/+16
| | | | | | | | | | | | multiprocessing Connection over a TCP socket. For small payloads, Nagle's algorithm would introduce idle delays before the entire transmission of a message.
* | Issue #17276: MD5 as default digestmod for HMAC is deprecated. The HMACChristian Heimes2013-11-201-2/+2
| | | | | | | | module supports digestmod names, e.g. hmac.HMAC('sha1').
* | Issue #18934: Use poll/select-based selectors for multiprocessing.Connection,Charles-Fran?ois Natali2013-09-081-1/+9
| | | | | | | | to avoid one extra FD per Connection.
* | Issue #18934: multiprocessing: use selectors module.Charles-Fran?ois Natali2013-09-051-35/+16
| |
* | Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-281-2/+4
| | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
* | Issue #8713: Support alternative start methods in multiprocessing on Unix.Richard Oudkerk2013-08-141-20/+41
| | | | | | | | See http://hg.python.org/sandbox/sbt#spawn
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-1/+1
| |
* | Issue #17097: Merge.Richard Oudkerk2013-07-011-3/+15
|\ \ | |/
| * Issue #17097: Make multiprocessing ignore EINTR.Richard Oudkerk2013-07-011-3/+15
| |
| * Fix issue #17707: multiprocessing.Queue's get() method does not block for ↵Giampaolo Rodola'2013-04-171-1/+1
| | | | | | | | short timeouts.
| * fix for previous commit related to issue 10527 which didn't have the ↵Giampaolo Rodola'2013-01-141-23/+25
| | | | | | | | intended effect as per http://bugs.python.org/issue10527#msg179895
* | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-131-1/+1
| | | | | | | | ModuleNotFoundError.
* | Fix issue #17707: multiprocessing.Queue's get() method does not block for ↵Giampaolo Rodola'2013-04-171-1/+1
| | | | | | | | short timeouts.
* | Issue #17025: Add dumps() and loads() to ForkingPickler.Charles-Fran?ois Natali2013-03-241-5/+2
| |
* | fix for previous commit related to issue 10527 which didn't have the ↵Giampaolo Rodola'2013-01-141-23/+25
| | | | | | | | intended effect as per http://bugs.python.org/issue10527#msg179895
* | Issue #16955: Fix the poll() method for multiprocessing's socketRichard Oudkerk2013-01-131-8/+8
|\ \ | |/ |/| | | connections on Windows.
| * Fix issue 10527: make multiprocessing use poll() instead of select() if ↵Giampaolo Rodola'2012-12-311-0/+21
| |\ | | | | | | | | | available.
| * | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-7/+7
| | |
| * | Issue #16719: Get rid of WindowsError. Use OSError insteadAndrew Svetlov2012-12-191-1/+1
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | Issue #16955: Fix the poll() method for multiprocessing's socketRichard Oudkerk2013-01-131-1/+1
| |/ |/| | | | | connections on Windows.
* | Fix issue 10527: make multiprocessing use poll() instead of select() if ↵Giampaolo Rodola'2012-12-311-118/+541
|\ \ | |/ | | | | available.
| * Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses.Richard Oudkerk2012-07-271-0/+5
| | | | | | | | Original patch by J Derek Wilson.
| * Issue #15064: Implement context manager protocol for multiprocessing typesRichard Oudkerk2012-06-181-1/+17
| |
| * Issue #14753: Make multiprocessing treat negative timeouts as it did in 3.2Richard Oudkerk2012-05-101-6/+1
| | | | | | | | | | | | | | | | 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.
| * Fix for Issue 14725 for 3.3 branch.Richard Oudkerk2012-05-051-9/+17
| |
| * Mark multiprocessing files with "Licensed to PSF under a Contributor Agreement"Richard Oudkerk2012-04-301-26/+1
| | | | | | | | instead of BSD licence.
| * Issue #4892: multiprocessing Connections can now be transferred over ↵Antoine Pitrou2012-04-241-2/+22
| | | | | | | | | | | | multiprocessing Connections. Patch by Richard Oudkerk (sbt).
| * Issue #11750: The Windows API functions scattered in the _subprocess andAntoine Pitrou2012-04-181-62/+62
| | | | | | | | | | _multiprocessing.win32 modules now live in a single module "_winapi". Patch by sbt.
| * Issue #14522: Avoid duplicating socket handles in multiprocessing.connection.Antoine Pitrou2012-04-071-12/+3
| | | | | | | | Patch by sbt.
| * 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 #14151: Raise a ValueError, not a NameError, when trying to createAntoine Pitrou2012-04-011-0/+9
| |\ \ | | | | | | | | | | | | | | | | a multiprocessing Client or Listener with an AF_PIPE type address under non-Windows platforms. Patch by Popa Claudiu.
| * | | Issue #12328: Fix multiprocessing's use of overlapped I/O on Windows.Antoine Pitrou2012-03-051-112/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-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 aCharles-François Natali2012-02-041-4/+8
| | | | | | | | | | | | | | | | multiprocessing.Connection socket can't be bound.
| * | | Issue #13215: multiprocessing.Connection: don't hammer the remote end withCharles-François Natali2011-11-191-15/+1
| | | | | | | | | | | | | | | | retries in case of ECONNREFUSED.
| * | | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy.Antoine Pitrou2011-10-121-4/+4
| | | |