| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
exited to a stopped instead of terminated state (ex: when under ptrace).
|
| |\ |
|
| | |
| | |
| | |
| | | |
instead of /bin/sh.
|
| | |\
| | | |
| | | |
| | | | |
It was deprecated in 3.4 and undocumented prior to that.
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
exited to a stopped instead of terminated state (ex: when under ptrace).
|
| |/ /
| | |
| | |
| | |
| | | |
Issue #29174, #26741: subprocess.Popen.__del__() now keeps a strong reference
to warnings.warn() function.
|
| |/
| |
| |
| |
| | |
parameter now raises a DeprecationWarning. It was deprecated in 3.4.
It was never documented prior to that.
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* Add the process identifier to the warning message
* Add also a comment to explain the issue
|
| | |\
| | | |
| | | |
| | | |
| | | | |
now correctly ignores BrokenPipeError when the child process dies
before .communicate() is called in more (all?) circumstances.
|
| | | |
| | | |
| | | |
| | | | |
when the child process died due to a signal.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Issue #26741: subprocess.Popen destructor now emits a ResourceWarning warning
if the child process is still running.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
sets the returncode attribute using the child process exit status when exec
failed.
|
| | |\ \ |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
|/ / / /
| | | |
| | | |
| | | | |
exited to a stopped instead of terminated state (ex: when under ptrace).
|
| |_|/
|/| |
| | |
| | | |
Patch by Tim Mitchell.
|
| |/
|/|
| |
| |
| | |
BrokenPipeError when the child process dies before .communicate()
is called in more (all?) circumstances.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
| |
| |
| | |
not allow the send_signal(), terminate(), or kill() methods to do
anything as they could potentially signal a different process.
|
| |
| |
| |
| |
| | |
not allow the send_signal(), terminate(), or kill() methods to do
anything as they could potentially signal a different process.
|
| |
| |
| |
| |
| | |
more consistent API than the existing call* functions.
(enhancement from issue 23342)
|
| |
| |
| |
| | |
It is internal only, not a documented API.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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!
|
|\ \
| |/
| |
| | |
statement if the pipe was broken. Patch by Martin Panter.
|
| |
| |
| |
| | |
statement if the pipe was broken. Patch by Martin Panter.
|
| | |
|
| |
| |
| |
| | |
Use new OSError exceptions, factorize stdin.write() code.
|
|\ \
| |/
|/|
| | |
buffering, rather than block buffering.
|
| |
| |
| |
| |
| | |
threading.Lock.acquire(), threading.RLock.acquire() and socket operations now
use a monotonic clock, instead of the system clock, when a timeout is used.
|
| |
| |
| |
| | |
class name instead of hardcoded one.
|
| |
| |
| |
| |
| | |
They should have been removed years ago when removing the old pure
Python implementation from the file.
|
| |\
| | |
| | |
| | |
| | | |
may be calling wait() or poll() on a Popen instance at the same time
without losing the Popen.returncode value. Fixes issue #21291.
|
| | |
| | |
| | |
| | |
| | |
| | | |
output (alternately bytes or strings)
Patch by Sam Kimbrel.
|
| |/
|/|
| |
| | |
buffering, rather than block buffering.
|
|/
|
|
|
| |
may be calling wait() or poll() on a Popen instance at the same time
without losing the Popen.returncode value. Fixes issue #21291.
|
| |
|
|\ |
|
| |\
| | |
| | |
| | |
| | | |
ignores OSError(22, 'Invalid argument') when writing input data into stdin,
whereas the process already exited.
|
| | |\
| | | |
| | | |
| | | | |
_active shouldn't be cached, it set to None on shutdown.
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | | |
communicate rather than 4096 for efficiency. A microbenchmark shows
Linux and OS X both using ~50% less cpu time this way.
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | | |
to stdin within subprocess.Popen.communicate. 5-10% less cpu usage.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
descriptor 0, 1 or 2 is closed. (correct fix for 3.4 this time)
|
| | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
causing test_multiprocessing_forkserver and test_multiprocessing_spawn
failures on head (3.4).
|
| | | |\ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
descriptor 0, 1 or 2 is closed.
|
| | | | |\ \ \ \ |
|