Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #29335: Fix subprocess.Popen.wait() when the child process has | Gregory P. Smith | 2017-01-23 | 1 | -1/+4 |
|\ | | | | | | | exited to a stopped instead of terminated state (ex: when under ptrace). | ||||
| * | Issue #29335: Fix subprocess.Popen.wait() when the child process has | Gregory P. Smith | 2017-01-23 | 1 | -1/+4 |
| |\ | | | | | | | | | | exited to a stopped instead of terminated state (ex: when under ptrace). | ||||
| | * | Issue #29335: Fix subprocess.Popen.wait() when the child process has | Gregory P. Smith | 2017-01-23 | 1 | -1/+4 |
| | | | | | | | | | | | | exited to a stopped instead of terminated state (ex: when under ptrace). | ||||
* | | | Merge 3.6 | Victor Stinner | 2017-01-06 | 1 | -3/+3 |
|\ \ \ | |/ / | |||||
| * | | Fix subprocess.Popen.__del__() fox Python shutdown | Victor Stinner | 2017-01-06 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | Issue #29174, #26741: subprocess.Popen.__del__() now keeps a strong reference to warnings.warn() function. | ||||
* | | | Issue #16255: subrocess.Popen uses /system/bin/sh on Android as the shell, | Xavier de Gaye | 2016-12-13 | 1 | -1/+4 |
| | | | | | | | | | | | | instead of /bin/sh. | ||||
* | | | Issue #20572: Remove the subprocess.Popen.wait endtime parameter. | Gregory P. Smith | 2016-11-21 | 1 | -13/+4 |
|\ \ \ | |/ / | | | | | | | It was deprecated in 3.4 and undocumented prior to that. | ||||
| * | | Issue #20572: The subprocess.Popen.wait method's undocumented endtime | Gregory P. Smith | 2016-11-21 | 1 | -2/+9 |
|/ / | | | | | | | | | parameter now raises a DeprecationWarning. It was deprecated in 3.4. It was never documented prior to that. | ||||
* | | Issue #26240: Merge subprocess doc string from 3.5 into 3.6 | Martin Panter | 2016-10-25 | 1 | -340/+81 |
|\ \ | |/ | |||||
| * | Issue #26240: Clean up the subprocess module doc string | Martin Panter | 2016-10-25 | 1 | -348/+79 |
| | | | | | | | | Patch by Tim Mitchell. | ||||
* | | Issue #6135: Adds encoding and errors parameters to subprocess | Steve Dower | 2016-09-07 | 1 | -42/+45 |
| | | |||||
* | | subprocess: enhance ResourceWarning message | Victor Stinner | 2016-06-14 | 1 | -3/+4 |
| | | | | | | | | | | * Add the process identifier to the warning message * Add also a comment to explain the issue | ||||
* | | merge from 3.5 - Fixes Issue #26373: subprocess.Popen.communicate | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-06-04 | 1 | -5/+18 |
|\ \ | |/ | | | | | | | now correctly ignores BrokenPipeError when the child process dies before .communicate() is called in more (all?) circumstances. | ||||
| * | Fixes Issue #26373: subprocess.Popen.communicate now correctly ignores | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-06-04 | 1 | -5/+18 |
| | | | | | | | | | | BrokenPipeError when the child process dies before .communicate() is called in more (all?) circumstances. | ||||
* | | Issue #27167: Clarify the subprocess.CalledProcessError error message text | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-06-03 | 1 | -4/+15 |
| | | | | | | | | when the child process died due to a signal. | ||||
* | | subprocess now emits a ResourceWarning warning | Victor Stinner | 2016-05-20 | 1 | -0/+3 |
| | | | | | | | | | | Issue #26741: subprocess.Popen destructor now emits a ResourceWarning warning if the child process is still running. | ||||
* | | Issue #26741: POSIX implementation of subprocess.Popen._execute_child() now | Victor Stinner | 2016-05-20 | 1 | -1/+6 |
| | | | | | | | | | | sets the returncode attribute using the child process exit status when exec failed. | ||||
* | | Issue #22274: Merge stderr=STDOUT fix from 3.5 | Martin Panter | 2016-05-13 | 1 | -1/+4 |
|\ \ | |/ | |||||
| * | Issue #22274: Redirect stderr=STDOUT when stdout not redirected, by Akira Li | Martin Panter | 2016-05-13 | 1 | -1/+4 |
| | | |||||
* | | Issue #26782: Add STARTUPINFO to subprocess.__all__ on Windows | Martin Panter | 2016-04-16 | 1 | -1/+2 |
| | | |||||
* | | subprocess._optim_args_from_interpreter_flags() | Victor Stinner | 2016-01-18 | 1 | -2/+12 |
|/ | | | | | | | | | | | | Issue #26100: * Add subprocess._optim_args_from_interpreter_flags() * Add test.support.optim_args_from_interpreter_flags() * Use new functions in distutils, test_cmd_line_script, test_compileall and test_inspect The change enables test_details() test of test_inspect when -O or -OO command line option is used. | ||||
* | * 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. |