| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \
| |/
| |
| |
| | |
communicate rather than 4096 for efficiency. A microbenchmark shows
Linux and OS X both using ~50% less cpu time this way.
|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
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).
|
| |
| |
| |
| |
| | |
causing test_multiprocessing_forkserver and test_multiprocessing_spawn
failures on head (3.4).
|
|\ \
| |/
| |
| | |
descriptor 0, 1 or 2 is closed.
|
| |
| |
| |
| | |
descriptor 0, 1 or 2 is closed.
|
|\ \
| |/ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
documentation, the module docstring, and the function docstring.
|
|\ \
| |/
| |
| | |
functionality and thus to work on Windows. Patch by Nick Coghlan.
|
| |
| |
| |
| | |
functionality and thus to work on Windows. Patch by Nick Coghlan.
|
| |
| |
| |
| |
| | |
Previously, the -R option would be specified multiple times
if PYTHONHASHSEED was set.
|
| |
| |
| |
| |
| | |
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| | |
Reformulated the textual change, and applied it to the docstring as well.
|
| |
| |
| |
| | |
Reformulated the textual change, and applied it to the docstring as well.
|
| | |
|
|\ \
| |/
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
ModuleNotFoundError.
|
| |
| |
| |
| |
| | |
allowing the subprocess's stdin to be provided as a (byte) string.
Patch by Zack Weinberg.
|
|\ \
| |/
| |
| |
| |
| | |
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.
|
| |\
| | |
| | |
| | |
| | |
| | | |
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.
|
| | |
| | |
| | |
| | |
| | |
| | | |
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | | |
available when configured at compile time.
|
| | |
| | |
| | |
| | | |
universal_newlines is true as on Windows.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
tests that depend on filling up an OS pipe so that they work properly
on systems configured with large pipe buffers.
Also a subprocess docstring update that i forgot was in my client when
i did the original 3.3 commit... easier to just leave that in here
with this one than go back and undo/redo.
|
| | |
| | |
| | |
| | |
| | | |
tests that depend on filling up an OS pipe so that they work properly
on systems configured with large pipe buffers.
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As stated in PEP 11, 3.4 removes code on Windows platforms where
COMSPEC points to command.com. The w9xpopen project in Visual Studio
was added to support that case, and there was a special case in subprocess
to cover that situation. This change removes the w9xpopen project from
the Visual Studio solution and removes any references to the w9xpopen
executable.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
child subprocess.PIPE parent file descriptors on child error prior to
exec().
This would lead to race conditions in multithreaded programs where
another thread opened a file reusing the fd which was then closed out
from beneath it by the errant second close.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
child subprocess.PIPE parent file descriptors on child error prior to
exec().
This would lead to race conditions in multithreaded programs where
another thread opened a file reusing the fd which was then closed out
from beneath it by the errant second close.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
child subprocess.PIPE parent file descriptors on child error prior to
exec().
This would lead to race conditions in multithreaded programs where
another thread opened a file reusing the fd which was then closed out
from beneath it by the errant second close.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
all together and just include the repr of the data in the exception
itself instead of the useless string "Unknown".
This code path is unlikely to even be possible to take given the
nature of the pipe it gets subprocess data from.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | |
| | | |
all together and just include the repr of the data in the exception
itself instead of the useless string "Unknown".
This code path is unlikely to even be possible to take given the
nature of the pipe it gets subprocess data from.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
all together and just include the repr of the data in the exception
itself instead of the useless string "Unknown".
This code path is unlikely to even be possible to take given the
nature of the pipe it gets subprocess data from.
|