Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.10] gh-97514: Don't use Linux abstract sockets for multiprocessing ↵ | Miss Islington (bot) | 2022-10-20 | 1 | -5/+0 |
| | | | | | | | | | | | | | | | | | | | | | | (GH-98501) (GH-98503) Linux abstract sockets are insecure as they lack any form of filesystem permissions so their use allows anyone on the system to inject code into the process. This removes the default preference for abstract sockets in multiprocessing introduced in Python 3.9+ via https://github.com/python/cpython/pull/18866 while fixing https://github.com/python/cpython/issues/84031. Explicit use of an abstract socket by a user now generates a RuntimeWarning. If we choose to keep this warning, it should be backported to the 3.7 and 3.8 branches. (cherry picked from commit 49f61068f49747164988ffc5a442d2a63874fc17) Co-authored-by: Gregory P. Smith <greg@krypto.org> Automerge-Triggered-By: GH:gpshead | ||||
* | bpo-39850: Add support for abstract sockets in multiprocessing (GH-18866) | Pablo Galindo | 2020-03-09 | 1 | -2/+8 |
| | |||||
* | bpo-17560: Too small type for struct.pack/unpack in ↵ | Alexander Buchkovsky | 2018-11-06 | 1 | -10/+20 |
| | | | | | mutliprocessing.Connection (GH-10305) Allow sending more than 2 GB at once on a multiprocessing connection on non-Windows systems. | ||||
* | bpo-34054: multiprocessing uses time.monotonic() (GH-8118) | Victor Stinner | 2018-07-06 | 1 | -4/+4 |
| | | | | | The multiprocessing module now uses the monotonic clock time.monotonic() instead of the system clock time.time() to implement timeouts. | ||||
* | bpo-5001: More-informative multiprocessing error messages (#3079) | Allen W. Smith, Ph.D | 2017-08-29 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make error message more informative Replace assertions in error-reporting code with more-informative version that doesn't cause confusion over where and what the error is. * Additional clarification + get travis to check * Change from SystemError to TypeError As suggested in PR comment by @pitrou, changing from SystemError; TypeError appears appropriate. * NEWS file installation; ACKS addition (will do my best to justify it by additional work) * Making current AssertionErrors in multiprocessing more informative * Blurb added re multiprocessing managers.py, queues.py cleanup * Further multiprocessing cleanup - went through pool.py * Fix two asserts in multiprocessing/util.py * Most asserts in multiprocessing more informative * Didn't save right version * Further work on multiprocessing error messages * Correct typo * Correct typo v2 * Blasted colon... serves me right for trying to work on two things at once * Simplify NEWS entry * Update 2017-08-18-17-16-38.bpo-5001.gwnthq.rst * Update 2017-08-18-17-16-38.bpo-5001.gwnthq.rst OK, never mind. * Corrected (thanks to pitrou) error messages for notify * Remove extraneous backslash in docstring. | ||||
* | bpo-29776: Use decorator syntax for properties. (#585) | Serhiy Storchaka | 2017-03-19 | 1 | -2/+7 |
| | |||||
* | Issue #28053: Applying refactorings, docs and other cleanup to follow. | Davin Potts | 2016-09-09 | 1 | -4/+4 |
| | |||||
* | Issue #25899: Converted non-ASCII characters in docstrings and manpage | Serhiy Storchaka | 2015-12-18 | 1 | -1/+1 |
| | | | | to ASCII replacements. Original patch by Chris Angelico. | ||||
* | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -5/+10 |
|\ | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
| * | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -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 Dower | 2015-03-02 | 1 | -2/+11 |
|\ \ | |/ | | | | | later | ||||
| * | Issue #18382: Zero-length messages are consumed by ReadFile on Windows 8 and ↵ | Steve Dower | 2015-03-02 | 1 | -2/+11 |
| | | | | | | | | later | ||||
* | | Issue #23285: PEP 475 -- Retry system calls failing with EINTR. | Charles-François Natali | 2015-02-07 | 1 | -15/+3 |
| | | |||||
* | | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 1 | -1/+1 |
| | | |||||
* | | Simplify code in multiprocessing.Connection.send_bytes(). | Antoine Pitrou | 2014-07-31 | 1 | -9/+6 |
|/ | | | | Followup to issue #20540; patch by Serhiy. | ||||
* | do not generate pipe names in the temporary dir | Benjamin Peterson | 2014-04-14 | 1 | -1/+1 |
| | |||||
* | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 1 | -1/+0 |
| | |||||
* | Issue #20978: pyflakes: fix undefined names | Victor Stinner | 2014-03-20 | 1 | -1/+1 |
| | |||||
* | Issue #20540: Fix a performance regression (vs. Python 3.2) when layering a ↵ | Antoine Pitrou | 2014-02-08 | 1 | -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 Pitrou | 2014-02-08 | 1 | -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 HMAC | Christian Heimes | 2013-11-20 | 1 | -2/+2 |
| | | | | | | | | module supports digestmod names, e.g. hmac.HMAC('sha1'). | ||||
* | | Issue #18934: Use poll/select-based selectors for multiprocessing.Connection, | Charles-François Natali | 2013-09-08 | 1 | -1/+9 |
| | | | | | | | | to avoid one extra FD per Connection. | ||||
* | | Issue #18934: multiprocessing: use selectors module. | Charles-François Natali | 2013-09-05 | 1 | -35/+16 |
| | | |||||
* | | Issue #18571: Implementation of the PEP 446: file descriptors and file handles | Victor Stinner | 2013-08-27 | 1 | -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 Oudkerk | 2013-08-14 | 1 | -20/+41 |
| | | | | | | | | See http://hg.python.org/sandbox/sbt#spawn | ||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #17097: Merge. | Richard Oudkerk | 2013-07-01 | 1 | -3/+15 |
|\ \ | |/ | |||||
| * | Issue #17097: Make multiprocessing ignore EINTR. | Richard Oudkerk | 2013-07-01 | 1 | -3/+15 |
| | | |||||
| * | Fix issue #17707: multiprocessing.Queue's get() method does not block for ↵ | Giampaolo Rodola' | 2013-04-17 | 1 | -1/+1 |
| | | | | | | | | short timeouts. | ||||
| * | fix for previous commit related to issue 10527 which didn't have the ↵ | Giampaolo Rodola' | 2013-01-14 | 1 | -23/+25 |
| | | | | | | | | intended effect as per http://bugs.python.org/issue10527#msg179895 | ||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -1/+1 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Fix issue #17707: multiprocessing.Queue's get() method does not block for ↵ | Giampaolo Rodola' | 2013-04-17 | 1 | -1/+1 |
| | | | | | | | | short timeouts. | ||||
* | | Issue #17025: Add dumps() and loads() to ForkingPickler. | Charles-François Natali | 2013-03-24 | 1 | -5/+2 |
| | | |||||
* | | fix for previous commit related to issue 10527 which didn't have the ↵ | Giampaolo Rodola' | 2013-01-14 | 1 | -23/+25 |
| | | | | | | | | intended effect as per http://bugs.python.org/issue10527#msg179895 | ||||
* | | Issue #16955: Fix the poll() method for multiprocessing's socket | Richard Oudkerk | 2013-01-13 | 1 | -1/+1 |
|\ \ | |/ | | | | | connections on Windows. | ||||
| * | Issue #16955: Fix the poll() method for multiprocessing's socket | Richard Oudkerk | 2013-01-13 | 1 | -1/+1 |
| | | | | | | | | connections on Windows. | ||||
* | | Fix issue 10527: make multiprocessing use poll() instead of select() if ↵ | Giampaolo Rodola' | 2012-12-31 | 1 | -0/+21 |
|\ \ | |/ | | | | | available. | ||||
| * | Fix issue 10527: make multiprocessing use poll() instead of select() if ↵ | Giampaolo Rodola' | 2012-12-31 | 1 | -0/+21 |
| |\ | | | | | | | | | | available. | ||||
| | * | Fix issue 10527: make multiprocessing use poll() instead of select() if ↵ | Giampaolo Rodola' | 2012-12-31 | 1 | -0/+21 |
| | | | | | | | | | | | | available. | ||||
| | * | Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses. | Richard Oudkerk | 2012-07-27 | 1 | -0/+5 |
| | | | | | | | | | | | | Original patch by J Derek Wilson. | ||||
| | * | Fix for issue 14725 for 3.2 branch | Richard Oudkerk | 2012-05-05 | 1 | -1/+4 |
| | | | |||||
* | | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -7/+7 |
| | | | |||||
* | | | Issue #16719: Get rid of WindowsError. Use OSError instead | Andrew Svetlov | 2012-12-19 | 1 | -1/+1 |
|/ / | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses. | Richard Oudkerk | 2012-07-27 | 1 | -0/+5 |
| | | | | | | | | Original patch by J Derek Wilson. | ||||
* | | Issue #15064: Implement context manager protocol for multiprocessing types | Richard Oudkerk | 2012-06-18 | 1 | -1/+17 |
| | | |||||
* | | Issue #14753: Make multiprocessing treat negative timeouts as it did in 3.2 | Richard Oudkerk | 2012-05-10 | 1 | -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 Oudkerk | 2012-05-05 | 1 | -9/+17 |
| | | |||||
* | | Mark multiprocessing files with "Licensed to PSF under a Contributor Agreement" | Richard Oudkerk | 2012-04-30 | 1 | -26/+1 |
| | | | | | | | | instead of BSD licence. | ||||
* | | Issue #4892: multiprocessing Connections can now be transferred over ↵ | Antoine Pitrou | 2012-04-24 | 1 | -2/+22 |
| | | | | | | | | | | | | multiprocessing Connections. Patch by Richard Oudkerk (sbt). |