| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Issue #25249: Remove unneeded mkstemp helper in test_subprocess | Berker Peksag | 2015-09-28 | 1 | -18/+8 |
| |\ | | | | | | | | | | | | | The helper was added in 76641824cf05 11 years ago and it can be removed now since all supported Python versions have tempfile.mkstemp(). Patch by Nir Soffer. | ||||
| | * | Issue #25249: Remove unneeded mkstemp helper in test_subprocess | Berker Peksag | 2015-09-28 | 1 | -18/+8 |
| | | | | | | | | | | | | | | | The helper was added in 76641824cf05 11 years ago and it can be removed now since all supported Python versions have tempfile.mkstemp(). Patch by Nir Soffer. | ||||
| * | | Use support.change_cwd() in tests. | Serhiy Storchaka | 2015-09-06 | 1 | -5/+2 |
| |\ \ | |/ | |||||
| | * | Use support.change_cwd() in tests. | Serhiy Storchaka | 2015-09-06 | 1 | -5/+2 |
| | | | |||||
| * | | Issue #9517: Move script_helper to the support package. | Berker Peksag | 2015-05-06 | 1 | -2/+2 |
| | | | | | | | | | Patch by Christie Wilson. | ||||
| * | | Add a subprocess.run() function than returns a CalledProcess instance for a | Gregory P. Smith | 2015-04-14 | 1 | -0/+97 |
| | | | | | | | | | | | 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 | -1/+1 |
| | | | | | | | | | It is internal only, not a documented API. | ||||
| * | | Addresses Issue #10838: The subprocess now module includes | Gregory P. Smith | 2015-04-07 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | | | 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: Cleaned up test_broken_pipe_cleanup. | Serhiy Storchaka | 2015-03-08 | 1 | -10/+8 |
| |\ \ | |/ | | | | | Patch by Martin Panter. | ||||
| | * | Issue #21619: Cleaned up test_broken_pipe_cleanup. | Serhiy Storchaka | 2015-03-08 | 1 | -10/+8 |
| | | | | | | | | | Patch by Martin Panter. | ||||
| * | | Merge 3.4 (test_subprocess) | Victor Stinner | 2015-03-05 | 1 | -6/+9 |
| |\ \ | |/ | |||||
| | * | Issue #21619: Try to fix test_broken_pipe_cleanup() | Victor Stinner | 2015-03-05 | 1 | -6/+9 |
| | | | |||||
| * | | Fixed a test for issue #21619 on Windows. | Serhiy Storchaka | 2015-02-28 | 1 | -1/+1 |
| |\ \ | |/ | | | | | On Windows an OSError with errno=EINVAL is raised. | ||||
| | * | Fixed a test for issue #21619 on Windows. | Serhiy Storchaka | 2015-02-28 | 1 | -1/+1 |
| | | | | | | | | | On Windows an OSError with errno=EINVAL is raised. | ||||
| * | | Issue #21619: Popen objects no longer leave a zombie after exit in the with | Serhiy Storchaka | 2015-02-28 | 1 | -0/+15 |
| |\ \ | |/ | | | | | 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 | -0/+15 |
| | | | | | | | | | statement if the pipe was broken. Patch by Martin Panter. | ||||
| * | | Use os.devnull instead of hardcoded '/dev/null'. | Serhiy Storchaka | 2015-02-15 | 1 | -2/+2 |
| |\ \ | |/ | |||||
| | * | Use os.devnull instead of hardcoded '/dev/null'. | Serhiy Storchaka | 2015-02-15 | 1 | -2/+2 |
| | | | |||||
| * | | Issue #23285: PEP 475 -- Retry system calls failing with EINTR. | Charles-François Natali | 2015-02-07 | 1 | -20/+0 |
| |/ | |||||
| * | Issue #22290: Fix error handling in the _posixsubprocess module. | Victor Stinner | 2014-10-05 | 1 | -0/+33 |
| | | | | | | | | | * Don't call the garbage collector with an exception set: it causes an assertion to fail in debug mode. * Enhance also error handling if allocating an array for the executable list failed. * Add an unit test for 4 different errors in the _posixsubprocess module. | ||||
| * | Issue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line ↵ | Antoine Pitrou | 2014-09-21 | 1 | -0/+33 |
| | | | | | buffering, rather than block buffering. | ||||
| * | fix a BytesWarning in my previous commit. | Gregory P. Smith | 2014-06-16 | 1 | -1/+1 |
| | | |||||
| * | Isolate the subprocess test_close_fds_when_max_fd_is_lowered test so | Gregory P. Smith | 2014-06-16 | 1 | -8/+30 |
| | | | | | | | that the rlimit calls happens in a child process rather than the TestCase process to attempt to fix the gentoo buildbot's "Too many open files" error. | ||||
| * | Skip test_subprocess test_close_fds_when_max_fd_is_lowered on FreeBSD | Gregory P. Smith | 2014-06-01 | 1 | -0/+3 |
| | | | | | when fdescfs is not mounted on /dev/fd. | ||||
| * | Attempt to fix the "too many open files" errors on several of the | Gregory P. Smith | 2014-06-01 | 1 | -4/+6 |
| | | | | | | buildbots that the new test_close_fds_when_max_fd_is_lowered test causes. It now leaves 10 more low fd's available. | ||||
| * | Explicitly wait for the child instead of letting a destructor do it. | Gregory P. Smith | 2014-06-01 | 1 | -1/+1 |
| | | |||||
| * | Don't restrict ourselves to a "max" fd when closing fds before exec() | Gregory P. Smith | 2014-06-01 | 1 | -0/+53 |
| | | | | | | | | | | when we have a way to get an actual list of all open fds from the OS. Fixes issue #21618: The subprocess module would ignore fds that were inherited by the calling process and already higher than POSIX resource limits would otherwise allow. On systems with a functioning /proc/self/fd or /dev/fd interface the max is now ignored and all fds are closed. | ||||
| * | Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a ↵ | Antoine Pitrou | 2014-05-08 | 1 | -0/+1 |
| | | | | | | | flush() on the underlying binary stream. Patch by akira. | ||||
| * | fix the test on windows which has different return codes from killed | Gregory P. Smith | 2014-04-23 | 1 | -5/+10 |
| | | | | | children. | ||||
| * | subprocess's Popen.wait() is now thread safe so that multiple threads | Gregory P. Smith | 2014-04-23 | 1 | -0/+48 |
| | | | | | | may be calling wait() or poll() on a Popen instance at the same time without losing the Popen.returncode value. Fixes issue #21291. | ||||
| * | Fixes issue #15798: subprocess.Popen() no longer fails if file | Gregory P. Smith | 2013-12-02 | 1 | -0/+21 |
| | | | | | 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 | -21/+0 |
| |\ | | | | | | | | | 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 | -21/+0 |
| | | | | | | | | | | | 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 | -0/+21 |
| |\ \ | |/ | | | | | descriptor 0, 1 or 2 is closed. | ||||
| | * | Fixes Issue #15798 - subprocess.Popen() no longer fails if file | Gregory P. Smith | 2013-12-01 | 1 | -0/+21 |
| | | | | | | | | | descriptor 0, 1 or 2 is closed. | ||||
| * | | Issue #19637: fix test_undecodable_env() of test_subprocess on AIX | Victor Stinner | 2013-11-19 | 1 | -5/+12 |
| | | | | | | | | | On AIX, the C locale encoding uses the ISO-8859-1 encoding, not ASCII. | ||||
| * | | Issue #18923: Update subprocess to use the new selectors module. | Charles-François Natali | 2013-11-08 | 1 | -4/+6 |
| | | | |||||
| * | | Issue #10197 Rework subprocess.get[status]output to use subprocess ↵ | Tim Golden | 2013-11-03 | 1 | -9/+2 |
| |\ \ | |/ | | | | | 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 | -9/+2 |
| | | | | | | | | | functionality and thus to work on Windows. Patch by Nick Coghlan. | ||||
| * | | Issue #9548: Add a minimal "_bootlocale" module that is imported by the _io ↵ | Antoine Pitrou | 2013-10-11 | 1 | -3/+4 |
| | | | | | | | | | module instead of the full locale module. | ||||
| * | | Issue #18948: improve SuppressCoreFiles to include Windows crash popup ↵ | Antoine Pitrou | 2013-10-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | suppression, and use it in more tests. Patch by Valerie Lambert and Zachary Ware. | ||||
| * | | Issue #18623: Factor out the _SuppressCoreFiles context manager into ↵ | Antoine Pitrou | 2013-09-06 | 1 | -46/+1 |
| | | | | | | | | | | | | | test.support. Patch by Valerie Lambert. | ||||
| * | | Issue #18571: Merge duplicate test code | Victor Stinner | 2013-09-01 | 1 | -2/+2 |
| | | | | | | | | | Merge test/subprocessdata/inherited.py into test/subprocessdata/fd_status.py | ||||
| * | | Forward port new tests from Issue #18851. | Antoine Pitrou | 2013-08-30 | 1 | -0/+34 |
| |\ \ | |/ | |||||
| | * | Forward port new tests from Issue #18851. | Antoine Pitrou | 2013-08-30 | 1 | -0/+34 |
| | | | |||||
| * | | Fixes Issue #15507: test_subprocess's test_send_signal could fail if the test | Gregory P. Smith | 2013-08-29 | 1 | -10/+16 |
| |\ \ | |/ | | | | | | | | | runner were run in an environment where the process inherited an ignore setting for SIGINT. Restore the SIGINT handler to the desired KeyboardInterrupt raising one during that test. | ||||
| | * | Fixes issue #15507: test_subprocess's test_send_signal could fail if the test | Gregory P. Smith | 2013-08-29 | 1 | -10/+16 |
| | | | | | | | | | | | | | runner were run in an environment where the process inherited an ignore setting for SIGINT. Restore the SIGINT handler to the desired KeyboardInterrupt raising one during that test. | ||||
| * | | Issue #18571: Implementation of the PEP 446: file descriptors and file handles | Victor Stinner | 2013-08-27 | 1 | -19/+54 |
| | | | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable(). | ||||
| * | | Merge. | Charles-François Natali | 2013-08-25 | 1 | -0/+17 |
| |\ \ | |/ | |||||
| | * | Issue #18763: subprocess: The file descriptors are now closed after calling the | Charles-François Natali | 2013-08-25 | 1 | -0/+17 |
| | | | | | | | | | preexec_fn callback, which may open file descriptors. | ||||
