summaryrefslogtreecommitdiffstats
path: root/Lib/xml/etree/ElementTree.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2012-10-10 10:34:47 (GMT)
committerGregory P. Smith <greg@krypto.org>2012-10-10 10:34:47 (GMT)
commit5591b02a4c96c4b530ee024e6b1581f5ba72945d (patch)
treec8618089fe0ad50bbc2783517d5eb71bfca7e3d3 /Lib/xml/etree/ElementTree.py
parenta256841b4bd923c5ac149a97318cde23c1086e39 (diff)
downloadcpython-5591b02a4c96c4b530ee024e6b1581f5ba72945d.zip
cpython-5591b02a4c96c4b530ee024e6b1581f5ba72945d.tar.gz
cpython-5591b02a4c96c4b530ee024e6b1581f5ba72945d.tar.bz2
Fixes Issue #16114: The subprocess module no longer provides a
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.
Diffstat (limited to 'Lib/xml/etree/ElementTree.py')
0 files changed, 0 insertions, 0 deletions