diff options
author | Gregory P. Smith <greg@krypto.org> | 2012-11-11 08:04:52 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2012-11-11 08:04:52 (GMT) |
commit | 6893732c353ed7cbd2492164aa2b7c64a9f1c840 (patch) | |
tree | 0d49846980a8261990edceb43977436898e54b45 /Misc | |
parent | 1f83866ecd07cf1b06f630c24a9092d3449955f6 (diff) | |
parent | 3aee2221229b9802dcc27b2709d5e97918b8ad46 (diff) | |
download | cpython-6893732c353ed7cbd2492164aa2b7c64a9f1c840.zip cpython-6893732c353ed7cbd2492164aa2b7c64a9f1c840.tar.gz cpython-6893732c353ed7cbd2492164aa2b7c64a9f1c840.tar.bz2 |
Remove the subprocess "bad exception data" warning (formerly a print!)
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -83,6 +83,9 @@ Core and Builtins Library ------- +- Remove a bare print to stdout from the subprocess module that could have + happened if the child process wrote garbage to its pre-exec error pipe. + - Issue #16327: The subprocess module no longer leaks file descriptors used for stdin/stdout/stderr pipes to the child when fork() fails. |