Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * Re-fix issue #19284: Don't generate the no-op -R command line | Gregory P. Smith | 2015-12-14 | 1 | -3/+0 |
|\ | | | | | | | | | | | | | | | parameter to "enable" the always on sys.flags.hash_randomization in _args_from_interpreter_flags() used by multiprocessing and some unittests. This simplifies the code. * assert_python_ok docstring typo fix. * Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seed. | ||||
| * | Re-fix issue #19284: Don't generate the no-op -R command line | Gregory P. Smith | 2015-12-14 | 1 | -3/+0 |
| | | | | | | | | | | | | parameter to "enable" the always on sys.flags.hash_randomization in _args_from_interpreter_flags() used by multiprocessing and some unittests. This simplifies the code. | ||||
* | | Fix issue #6973: When we know a subprocess.Popen process has died, do | Gregory P. Smith | 2015-11-16 | 1 | -7/+12 |
|\ \ | |/ | | | | | | | not allow the send_signal(), terminate(), or kill() methods to do anything as they could potentially signal a different process. | ||||
| * | Fix issue #6973: When we know a subprocess.Popen process has died, do | Gregory P. Smith | 2015-11-16 | 1 | -7/+12 |
| | | | | | | | | | | not allow the send_signal(), terminate(), or kill() methods to do anything as they could potentially signal a different process. | ||||
* | | Add a subprocess.run() function than returns a CalledProcess instance for a | Gregory P. Smith | 2015-04-14 | 1 | -16/+108 |
| | | | | | | | | | | more consistent API than the existing call* functions. (enhancement from issue 23342) | ||||
* | | issue10838: Rename the subprocess.mswindows internal global to _mswindows. | Gregory P. Smith | 2015-04-07 | 1 | -6/+6 |
| | | | | | | | | It is internal only, not a documented API. | ||||
* | | Addresses Issue #10838: The subprocess now module includes | Gregory P. Smith | 2015-04-07 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | SubprocessError and TimeoutError in its list of exported names for the users wild enough to use "from subprocess import *". MAXFD, mswindows and list2cmdline should be dealt with (renamed or moved) in separate commits. Committed at 35,000ft. Thanks chromebook free gogo wifi passes! | ||||
* | | Issue #21619: Popen objects no longer leave a zombie after exit in the with | Serhiy Storchaka | 2015-02-28 | 1 | -4/+6 |
|\ \ | |/ | | | | | statement if the pipe was broken. Patch by Martin Panter. | ||||
| * | Issue #21619: Popen objects no longer leave a zombie after exit in the with | Serhiy Storchaka | 2015-02-28 | 1 | -4/+6 |
| | | | | | | | | statement if the pipe was broken. Patch by Martin Panter. | ||||
* | | Issue #23285: PEP 475 -- Retry system calls failing with EINTR. | Charles-François Natali | 2015-02-07 | 1 | -13/+5 |
| | | |||||
* | | Closes #23234: Refactor subprocess | Victor Stinner | 2015-01-14 | 1 | -34/+24 |
| | | | | | | | | Use new OSError exceptions, factorize stdin.write() code. | ||||
* | | Issue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line ↵ | Antoine Pitrou | 2014-09-21 | 1 | -1/+2 |
|\ \ | |/ | | | | | buffering, rather than block buffering. | ||||
| * | Issue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line ↵ | Antoine Pitrou | 2014-09-21 | 1 | -1/+2 |
| | | | | | | | | buffering, rather than block buffering. | ||||
* | | Issue #22043: time.monotonic() is now always available | Victor Stinner | 2014-09-02 | 1 | -4/+1 |
| | | | | | | | | | | threading.Lock.acquire(), threading.RLock.acquire() and socket operations now use a monotonic clock, instead of the system clock, when a timeout is used. | ||||
* | | Issue #22033: Reprs of most Python implemened classes now contain actual | Serhiy Storchaka | 2014-07-25 | 1 | -1/+1 |
| | | | | | | | | class name instead of hardcoded one. | ||||
* | | Remove the obsolete MAXFD constant and Popen._close_fds() method. | Gregory P. Smith | 2014-06-01 | 1 | -14/+0 |
| | | | | | | | | | | They should have been removed years ago when removing the old pure Python implementation from the file. | ||||
* | | subprocess's Popen.wait() is now thread safe so that multiple threads | Gregory P. Smith | 2014-04-23 | 1 | -10/+40 |
|\ \ | |/ | | | | | | | may be calling wait() or poll() on a Popen instance at the same time without losing the Popen.returncode value. Fixes issue #21291. | ||||
| * | subprocess's Popen.wait() is now thread safe so that multiple threads | Gregory P. Smith | 2014-04-23 | 1 | -10/+40 |
| | | | | | | | | | | may be calling wait() or poll() on a Popen instance at the same time without losing the Popen.returncode value. Fixes issue #21291. | ||||
* | | #10481: describe universal_newlines' effect on communicate()/check_output() ↵ | Andrew Kuchling | 2014-04-14 | 1 | -11/+27 |
|/ | | | | | | output (alternately bytes or strings) Patch by Sam Kimbrel. | ||||
* | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 1 | -2/+0 |
| | |||||
* | merge 3.3 (#19060) | Benjamin Peterson | 2014-03-13 | 1 | -1/+1 |
|\ | |||||
| * | remove unnecessary word (closes #19060) | Benjamin Peterson | 2014-03-13 | 1 | -1/+1 |
| | | | | | | | | Patch by Anastasia Filatova. | ||||
* | | (Merge 3.3) Issue #19612: On Windows, subprocess.Popen.communicate() now | Victor Stinner | 2014-02-18 | 1 | -1/+9 |
|\ \ | |/ | | | | | | | ignores OSError(22, 'Invalid argument') when writing input data into stdin, whereas the process already exited. | ||||
| * | Issue #19612: On Windows, subprocess.Popen.communicate() now ignores | Victor Stinner | 2014-02-18 | 1 | -1/+9 |
| | | | | | | | | | | OSError(22, 'Invalid argument') when writing input data into stdin, whereas the process already exited. | ||||
* | | issue12085: Use more Pythonic way to check _child_created. | Serhiy Storchaka | 2014-02-10 | 1 | -7/+6 |
|\ \ | |/ | | | | | _active shouldn't be cached, it set to None on shutdown. | ||||
| * | issue12085: Use more Pythonic way to check _child_created. | Serhiy Storchaka | 2014-02-10 | 1 | -7/+6 |
| | | | | | | | | _active shouldn't be cached, it set to None on shutdown. | ||||
* | | Fixes issue #19929: Call os.read with 32768 within subprocess.Popen | Gregory P. Smith | 2013-12-08 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | communicate rather than 4096 for efficiency. A microbenchmark shows Linux and OS X both using ~50% less cpu time this way. | ||||
| * | Fixes issue #19929: Call os.read with 32768 within subprocess.Popen | Gregory P. Smith | 2013-12-08 | 1 | -1/+1 |
| | | | | | | | | | | communicate rather than 4096 for efficiency. A microbenchmark shows Linux and OS X both using ~50% less cpu time this way. | ||||
* | | Fixes issue #19506: Use a memoryview to avoid a data copy when piping data | Gregory P. Smith | 2013-12-08 | 1 | -2/+5 |
|\ \ | |/ | | | | | to stdin within subprocess.Popen.communicate. 5-10% less cpu usage. | ||||
| * | Fixes issue #19506: Use a memoryview to avoid a data copy when piping data | Gregory P. Smith | 2013-12-08 | 1 | -2/+5 |
| | | | | | | | | to stdin within subprocess.Popen.communicate. 5-10% less cpu usage. | ||||
* | | Fixes issue #15798: subprocess.Popen() no longer fails if file | Gregory P. Smith | 2013-12-02 | 1 | -0/+7 |
| | | | | | | | | descriptor 0, 1 or 2 is closed. (correct fix for 3.4 this time) | ||||
* | | Undo supposed fix for Issue #15798 until I understand why this is | Gregory P. Smith | 2013-12-01 | 1 | -4/+1 |
|\ \ | |/ | | | | | | | causing test_multiprocessing_forkserver and test_multiprocessing_spawn failures on head (3.4). | ||||
| * | Undo supposed fix for Issue #15798 until I understand why this is | Gregory P. Smith | 2013-12-01 | 1 | -4/+1 |
| | | | | | | | | | | causing test_multiprocessing_forkserver and test_multiprocessing_spawn failures on head (3.4). | ||||
* | | Fixes Issue #15798 - subprocess.Popen() no longer fails if file | Gregory P. Smith | 2013-12-01 | 1 | -1/+4 |
|\ \ | |/ | | | | | descriptor 0, 1 or 2 is closed. | ||||
| * | Fixes Issue #15798 - subprocess.Popen() no longer fails if file | Gregory P. Smith | 2013-12-01 | 1 | -1/+4 |
| | | | | | | | | descriptor 0, 1 or 2 is closed. | ||||
* | | Remove outdated comment | Tim Golden | 2013-11-11 | 1 | -1/+0 |
|\ \ | |/ | |||||
| * | Remove outdated comment | Tim Golden | 2013-11-11 | 1 | -1/+0 |
| | | |||||
* | | Issue #18923: Update subprocess to use the new selectors module. | Charles-François Natali | 2013-11-08 | 1 | -169/+69 |
| | | |||||
* | | Issue #10197 Tweak docs for subprocess.getstatusoutput and align the ↵ | Tim Golden | 2013-11-05 | 1 | -11/+15 |
| | | | | | | | | documentation, the module docstring, and the function docstring. | ||||
* | | Issue #10197 Rework subprocess.get[status]output to use subprocess ↵ | Tim Golden | 2013-11-03 | 1 | -15/+9 |
|\ \ | |/ | | | | | functionality and thus to work on Windows. Patch by Nick Coghlan. | ||||
| * | Issue #10197 Rework subprocess.get[status]output to use subprocess ↵ | Tim Golden | 2013-11-03 | 1 | -15/+9 |
| | | | | | | | | functionality and thus to work on Windows. Patch by Nick Coghlan. | ||||
* | | Close #19284: Handle -R properly in flag helper | Nick Coghlan | 2013-10-18 | 1 | -0/+2 |
| | | | | | | | | | | Previously, the -R option would be specified multiple times if PYTHONHASHSEED was set. | ||||
* | | Issue #18571: Implementation of the PEP 446: file descriptors and file handles | Victor Stinner | 2013-08-27 | 1 | -5/+4 |
| | | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable(). | ||||
* | | #18705: merge with 3.3. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #18705: fix a number of typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
| | | |||||
* | | (3.3->default) Cleanup of documentation change from #17860 | Ronald Oussoren | 2013-07-07 | 1 | -0/+3 |
|\ \ | |/ | | | | | Reformulated the textual change, and applied it to the docstring as well. | ||||
| * | Cleanup of documentation change from #17860 | Ronald Oussoren | 2013-07-07 | 1 | -0/+3 |
| | | | | | | | | Reformulated the textual change, and applied it to the docstring as well. | ||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -1/+1 |
| | | |||||
* | | Prevent a possible double close of parent pipe fds when the subprocess | Gregory P. Smith | 2013-06-16 | 1 | -18/+25 |
|\ \ | |/ | | | | | | | exec runs into an error. Prevent a regular multi-close of the /dev/null fd when any of stdin, stdout and stderr was set to DEVNULL. | ||||
| * | Prevent a possible double close of parent pipe fds when the subprocess | Gregory P. Smith | 2013-06-16 | 1 | -18/+25 |
| | | | | | | | | | | exec runs into an error. Prevent a regular multi-close of the /dev/null fd when any of stdin, stdout and stderr was set to DEVNULL. |