Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Add test to explicit check the absence regression in subprocess (issue #15592). | Andrew Svetlov | 2012-08-14 | 1 | -0/+12 | |
| | | | | | | | | Patch by Chris Jerdonek. | |||||
* | | Merge universal newlines-related fixes (issue #13119) | Antoine Pitrou | 2012-08-04 | 1 | -26/+28 | |
|\ \ | |/ | ||||||
| * | Fix universal newlines test to avoid the newline translation done by sys.stdout. | Antoine Pitrou | 2012-08-04 | 1 | -26/+28 | |
| | | ||||||
* | | Implemented PEP 405 (Python virtual environments). | Vinay Sajip | 2012-05-26 | 1 | -0/+4 | |
| | | ||||||
* | | Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under ↵ | Antoine Pitrou | 2012-03-11 | 1 | -0/+67 | |
|\ \ | |/ | | | | | Windows when the child process has already exited. | |||||
| * | Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under ↵ | Antoine Pitrou | 2012-03-11 | 1 | -0/+67 | |
| | | | | | | | | Windows when the child process has already exited. | |||||
* | | Fix sporadic test_subprocess regression introduced by 834650d63130. | Ross Lagerwall | 2012-02-22 | 1 | -2/+2 | |
| | | ||||||
* | | Merge 3.2: Issue #13703 plus some related test suite fixes. | Georg Brandl | 2012-02-20 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fix bad inheritance in test_subprocess that led to a number of tests being ↵ | Georg Brandl | 2012-02-20 | 1 | -1/+1 | |
| | | | | | | | | executed twice. | |||||
* | | Fix a typo. | Ross Lagerwall | 2012-02-12 | 1 | -1/+1 | |
| | | ||||||
* | | Attempt to speed up some subprocess tests (and hopefully keep them reliable). | Ross Lagerwall | 2012-02-12 | 1 | -24/+21 | |
| | | ||||||
* | | Fix a unittest error seen on NetBSD 5. | Gregory P. Smith | 2012-01-22 | 1 | -2/+12 | |
|\ \ | |/ | ||||||
| * | Fix a unittest error seen on NetBSD 5. | Gregory P. Smith | 2012-01-22 | 1 | -2/+12 | |
| | | ||||||
* | | Fixes issue #8052: The posix subprocess module's close_fds behavior was | Gregory P. Smith | 2012-01-21 | 1 | -0/+18 | |
|\ \ | |/ | | | | | | | | | | | | | suboptimal by closing all possible file descriptors rather than just the open ones in the child process before exec(). It now closes only the open fds when it is possible to safely determine what those are. | |||||
| * | Fixes issue #8052: The posix subprocess module's close_fds behavior was | Gregory P. Smith | 2012-01-21 | 1 | -0/+18 | |
| | | | | | | | | | | | | | | | | suboptimal by closing all possible file descriptors rather than just the open ones in the child process before exec(). It now closes only the open fds when it is possible to safely determine what those are. | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-12-10 | 1 | -6/+1 | |
|\ \ | |/ | ||||||
| * | we're always going to have gc | Benjamin Peterson | 2011-12-10 | 1 | -6/+1 | |
| | | ||||||
* | | merge 3.2 | Benjamin Peterson | 2011-12-10 | 1 | -11/+17 | |
|\ \ | |/ | ||||||
| * | you can't get resource.error if you can't import resource | Benjamin Peterson | 2011-12-10 | 1 | -11/+17 | |
| | | ||||||
* | | Merge: Fix ResourceWarnings in test_subprocess. | Nadeem Vawda | 2011-08-19 | 1 | -0/+4 | |
|\ \ | |/ | ||||||
| * | Fix ResourceWarnings in test_subprocess. | Nadeem Vawda | 2011-08-19 | 1 | -0/+4 | |
| | | ||||||
* | | Issue #12650: fix failures on some buildbots, when a subprocess takes a long | Charles-François Natali | 2011-08-18 | 1 | -12/+0 | |
|\ \ | |/ | | | | | time to spawn. | |||||
| * | Issue #12650: fix failures on some buildbots, when a subprocess takes a long | Charles-François Natali | 2011-08-18 | 1 | -12/+0 | |
| | | | | | | | | time to spawn. | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-08-18 | 1 | -0/+58 | |
|\ \ | |/ | ||||||
| * | Issue #12650: Fix a race condition where a subprocess.Popen could leak | Charles-François Natali | 2011-08-18 | 1 | -0/+58 | |
| | | | | | | | | resources (FD/zombie) when killed at the wrong time. | |||||
* | | Issue #12607: Merge with 3.2. | Ross Lagerwall | 2011-07-27 | 1 | -0/+58 | |
|\ \ | |/ | ||||||
| * | Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr is | Ross Lagerwall | 2011-07-27 | 1 | -0/+58 | |
| | | | | | | | | given as a low fd, it gets overwritten. | |||||
* | | Issue #12591: Improve support of "universal newlines" in the subprocess | Antoine Pitrou | 2011-07-23 | 1 | -16/+48 | |
|\ \ | |/ | | | | | module: the piped streams can now be properly read from or written to. | |||||
| * | Issue #12591: Improve support of "universal newlines" in the subprocess | Antoine Pitrou | 2011-07-23 | 1 | -16/+48 | |
| | | | | | | | | | | | | | | module: the piped streams can now be properly read from or written to. (this was broken due to the 2.x to 3.x transition; communicate() support is still sketchy) | |||||
* | | (merge 3.2) Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is ↵ | Victor Stinner | 2011-07-05 | 1 | -0/+2 | |
|\ \ | |/ | | | | | missing | |||||
| * | Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing | Victor Stinner | 2011-07-05 | 1 | -0/+2 | |
| | | ||||||
* | | (merge 3.2) Issue #12493: subprocess: communicate() handles EINTR | Victor Stinner | 2011-07-05 | 1 | -0/+16 | |
|\ \ | |/ | | | | | | | subprocess.Popen.communicate() now also handles EINTR errors if the process has only one pipe. | |||||
| * | Issue #12493: subprocess: communicate() handles EINTR | Victor Stinner | 2011-07-05 | 1 | -0/+16 | |
| | | | | | | | | | | subprocess.Popen.communicate() now also handles EINTR errors if the process has only one pipe. | |||||
* | | (merge 3.2) Issue #12383: skip test_empty_env() of subprocess on Windows | Victor Stinner | 2011-06-22 | 1 | -0/+4 | |
|\ \ | |/ | | | | | | | Cannot test an empty environment on Windows: Windows requires at least the SYSTEMROOT environment variable to start Python. | |||||
| * | Issue #12383: skip test_empty_env() of subprocess on Windows | Victor Stinner | 2011-06-22 | 1 | -0/+4 | |
| | | | | | | | | | | Cannot test an empty environment on Windows: Windows requires at least the SYSTEMROOT environment variable to start Python. | |||||
* | | (merge 3.2) Issue #12383: fix test_empty_env() of subprocess on Mac OS X | Victor Stinner | 2011-06-22 | 1 | -2/+6 | |
|\ \ | |/ | | | | | | | | | Mac OS X adds __CF_USER_TEXT_ENCODING variable to an empty environment. Fix also the test on the Py_ENABLE_SHARED config varible: test that the variable is present, don't check it's value. | |||||
| * | Issue #12383: fix test_empty_env() of subprocess on Mac OS X | Victor Stinner | 2011-06-22 | 1 | -2/+6 | |
| | | | | | | | | | | | | Mac OS X adds __CF_USER_TEXT_ENCODING variable to an empty environment. Fix also the test on the Py_ENABLE_SHARED config varible: test that the variable is present, don't check it's value. | |||||
* | | (merge 3.2) Issue #12383: skip test_empty_env() if compiled is compiled in | Victor Stinner | 2011-06-21 | 1 | -2/+5 | |
|\ \ | |/ | | | | | | | | | | | shared mode Try also to get more informations about the Mac OS X failure: display the keys of the environment, instead of just the number of variables. | |||||
| * | Issue #12383: skip test_empty_env() if compiled is compiled in shared mode | Victor Stinner | 2011-06-21 | 1 | -2/+5 | |
| | | | | | | | | | | Try also to get more informations about the Mac OS X failure: display the keys of the environment, instead of just the number of variables. | |||||
* | | (merge 3.2) Close #12383: Fix subprocess module with env={}: don't copy the | Victor Stinner | 2011-06-21 | 1 | -7/+16 | |
|\ \ | |/ | | | | | environment variables, start with an empty environment. | |||||
| * | Close #12383: Fix subprocess module with env={}: don't copy the environment | Victor Stinner | 2011-06-21 | 1 | -7/+16 | |
| | | | | | | | | variables, start with an empty environment. | |||||
* | | Use a sleep for test_subprocess timeout test | Victor Stinner | 2011-06-06 | 1 | -2/+3 | |
| | | | | | | | | instead of an active loop (while True: pass) to limit race conditions. | |||||
* | | (Merge 3.2) Close #12230: Mac OS X Tiger (10.4) has a kernel bug: sometimes, | Victor Stinner | 2011-06-01 | 1 | -0/+5 | |
|\ \ | |/ | | | | | | | | | | | | | | | the file descriptor of a pipe closed in the parent process is valid in the child process according to fstat(), but the mode of the file descriptor is invalid, and read or write raise an error. test.support.requires_mac_ver() is now a decorator, as suggested by Ezio Melotti, and its docstring is fixed (linux_version => mac_ver). | |||||
| * | Close #12230: Mac OS X Tiger (10.4) has a kernel bug: sometimes, the file | Victor Stinner | 2011-06-01 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | descriptor of a pipe closed in the parent process is valid in the child process according to fstat(), but the mode of the file descriptor is invalid, and read or write raise an error. Add also requires_mac_ver() decorator to test.support. | |||||
* | | (Merge 3.2) Close #12085: Fix an attribute error in subprocess.Popen destructor | Victor Stinner | 2011-05-31 | 1 | -0/+10 | |
|\ \ | |/ | | | | | | | if the constructor has failed, e.g. because of an undeclared keyword argument. Patch written by Oleg Oshmyan. | |||||
| * | Close #12085: Fix an attribute error in subprocess.Popen destructor if the | Victor Stinner | 2011-05-31 | 1 | -0/+10 | |
| | | | | | | | | | | constructor has failed, e.g. because of an undeclared keyword argument. Patch written by Oleg Oshmyan. | |||||
| * | Fix ProcessTestCasePOSIXPurePython to test the module from import when | Gregory P. Smith | 2011-05-28 | 1 | -9/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | _posixsubprocess doesn't exist rather than simply stubbing it out after the fact. This adds coverage for the RuntimeWarning as well as using the pure python _create_pipe instead of using _posixsubprocess.cloexec_pipe unintentionally with the pure python code. Ironically: I don't think any platform should ever actually _use_ the pure Python subprocess code on POSIX platforms anymore. This at least tests it properly in this stable branch. The pure python code for this is likely to be removed in 3.3. | |||||
| * | merge - 7a3f3ad83676 Fixes Issue #12044. | Gregory P. Smith | 2011-05-12 | 1 | -1/+2 | |
| | | ||||||
* | | Issue #12196: Add PIPE_MAX_SIZE to test.support, constant larger than the | Charles-François Natali | 2011-05-29 | 1 | -7/+4 | |
| | | | | | | | | underlying OS pipe buffer size. | |||||
* | | follow on to the last commit, remove the final POSIXPurePythonTestCase | Gregory P. Smith | 2011-05-28 | 1 | -1/+0 | |
| | | | | | | | | | | reference. (the difference between running test_subprocess.py directly rather than via regrtest.py) |