Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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. | |||||
* | | Issue #17046: merge from 3.3 | Ned Deily | 2013-08-03 | 1 | -1/+2 | |
|\ \ | |/ | ||||||
| * | Issue #17046: Fix test_subprocess test_executable_without_cwd broken test case. | Ned Deily | 2013-08-03 | 1 | -1/+2 | |
| | | ||||||
* | | Fix the RLIMIT_CORE resource lowering logic in test_subprocess. | Antoine Pitrou | 2013-08-01 | 1 | -1/+1 | |
| | | | | | | | | | | We must only lower the soft limit, since lowering the hard limit makes it impossible to raise it back at the end. (this could prevent core dumps from being generated when the test suite crashes) | |||||
* | | Merge. | Richard Oudkerk | 2013-06-10 | 1 | -1/+2 | |
|\ \ | |/ | ||||||
| * | Issue #18174: Fix fd leaks in tests. | Richard Oudkerk | 2013-06-10 | 1 | -1/+2 | |
| | | ||||||
* | | Try to make test more reliable (saw some sporadic failures on buildbots) | Antoine Pitrou | 2013-05-19 | 1 | -3/+3 | |
|\ \ | |/ | ||||||
| * | Try to make test more reliable (saw some sporadic failures on buildbots) | Antoine Pitrou | 2013-05-19 | 1 | -3/+3 | |
| | | ||||||
* | | Issue #16624: `subprocess.check_output` now accepts an `input` argument, | Serhiy Storchaka | 2013-04-22 | 1 | -1/+35 | |
| | | | | | | | | | | allowing the subprocess's stdin to be provided as a (byte) string. Patch by Zack Weinberg. | |||||
* | | Fixes issue #17488: Change the subprocess.Popen bufsize parameter default value | Gregory P. Smith | 2013-03-23 | 1 | -0/+28 | |
|\ \ | |/ | | | | | | | | | 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. | |||||
| * | Fixes issue #17488: Change the subprocess.Popen bufsize parameter default value | Gregory P. Smith | 2013-03-23 | 1 | -0/+28 | |
| |\ | | | | | | | | | | | | | | | | 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. | |||||
| | * | Fixes issue #17488: Change the subprocess.Popen bufsize parameter default value | Gregory P. Smith | 2013-03-23 | 1 | -0/+22 | |
| | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | #11963: merge with 3.3. | Ezio Melotti | 2013-03-11 | 1 | -12/+36 | |
|\ \ \ | |/ / | ||||||
| * | | #11963: merge with 3.2. | Ezio Melotti | 2013-03-11 | 1 | -12/+36 | |
| |\ \ | | |/ | ||||||
| | * | #11963: remove human verification from test_parser and test_subprocess. | Ezio Melotti | 2013-03-11 | 1 | -12/+36 | |
| | | | ||||||
| | * | Issue #16903: Popen.communicate() on Unix now accepts strings when | Serhiy Storchaka | 2013-02-04 | 1 | -2/+29 | |
| | | | | | | | | | | | | universal_newlines is true as on Windows. | |||||
* | | | Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill() | Charles-François Natali | 2013-01-12 | 1 | -0/+2 | |
|\ \ \ | |/ / | | | | | | | returns ESRCH for a zombie process, which is not POSIX-compliant. | |||||
| * | | Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill() | Charles-François Natali | 2013-01-12 | 1 | -0/+2 | |
| |\ \ | | |/ | | | | | | | returns ESRCH for a zombie process, which is not POSIX-compliant. | |||||
| | * | Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill() | Charles-François Natali | 2013-01-12 | 1 | -0/+2 | |
| | | | | | | | | | | | | returns ESRCH for a zombie process, which is not POSIX-compliant. | |||||
* | | | fix test for subprocess (#16644) | Andrew Svetlov | 2012-12-26 | 1 | -4/+1 | |
|\ \ \ | |/ / | ||||||
| * | | fix test for subprocess (#16644) | Andrew Svetlov | 2012-12-26 | 1 | -4/+1 | |
| |\ \ | | |/ | ||||||
| | * | fix test for subprocess (#16644) | Andrew Svetlov | 2012-12-26 | 1 | -2/+1 | |
| | | | ||||||
* | | | Get rig of EnvironmentError (#16705) | Andrew Svetlov | 2012-12-17 | 1 | -4/+3 | |
| | | | ||||||
* | | | Refactor test_preexec_errpipe to not create an uncollectable reference cycle. | Gregory P. Smith | 2012-11-11 | 1 | -20/+19 | |
|\ \ \ | |/ / | ||||||
| * | | Refactor test_preexec_errpipe to not create an uncollectable reference cycle. | Gregory P. Smith | 2012-11-11 | 1 | -19/+18 | |
| |\ \ | | |/ | ||||||
| | * | Refactor test_preexec_errpipe to not create an uncollectable reference cycle. | Gregory P. Smith | 2012-11-11 | 1 | -19/+18 | |
| | | | ||||||
* | | | Fixes issue #16140: The subprocess module no longer double closes its | Gregory P. Smith | 2012-11-11 | 1 | -0/+39 | |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | | Fixes issue #16140: The subprocess module no longer double closes its | Gregory P. Smith | 2012-11-11 | 1 | -0/+38 | |
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| | * | Fixes issue #16140: The subprocess module no longer double closes its | Gregory P. Smith | 2012-11-11 | 1 | -0/+38 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | Raise our own SubprocessError rather than a RuntimeError in when dealing with | Gregory P. Smith | 2012-11-11 | 1 | -3/+3 | |
|/ / | | | | | | | odd rare errors coming from the subprocess module. | |||||
* | | Fixes issue #16327: The subprocess module no longer leaks file descriptors | Gregory P. Smith | 2012-11-11 | 1 | -0/+33 | |
|\ \ | |/ | | | | | used for stdin/stdout/stderr pipes to the child when fork() fails. | |||||
| * | Fixes issue #16327: The subprocess module no longer leaks file descriptors | Gregory P. Smith | 2012-11-11 | 1 | -0/+33 | |
| | | | | | | | | used for stdin/stdout/stderr pipes to the child when fork() fails. | |||||
* | | Fixes Issue #16114: The subprocess module no longer provides a | Gregory P. Smith | 2012-10-10 | 1 | -7/+40 | |
|\ \ | |/ | | | | | | | | | misleading error message stating that args[0] did not exist when either the cwd or executable keyword arguments specified a path that did not exist. | |||||
| * | Fixes Issue #16114: The subprocess module no longer provides a | Gregory P. Smith | 2012-10-10 | 1 | -7/+40 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | misleading error message stating that args[0] did not exist when either the cwd or executable keyword arguments specified a path that did not exist. It now keeps track of if the child got as far as preexec and reports it if not back to the parent via a special "noexec" error message value in the error pipe so that the cwd can be blamed for a failed chdir instead of the exec of the executable being blamed instead. The executable is also always reported accurately when exec fails. Unittests enhanced to cover these cases. | |||||
* | | Issue #16170: Remove Linux skip from test_subprocess's test_executable test. | Chris Jerdonek | 2012-10-09 | 1 | -5/+8 | |
| | | ||||||
* | | Issue #16115: Skip a newly added subprocess.Popen() test on Linux. | Chris Jerdonek | 2012-10-09 | 1 | -0/+4 | |
| | | ||||||
* | | Issue #16115: Improve testing of the executable argument to subprocess.Popen(). | Chris Jerdonek | 2012-10-08 | 1 | -10/+27 | |
| | |