Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16113
___
New submission from Chris Jerdonek:
The error message in the FileNotFoundError error raised by subprocess.Popen()
displays the wrong path when the bad path is due to the executable argument
rather than args. The message gives the path for args[0] rather than for the
executable argument.
For
Chris Jerdonek added the comment:
2.7 is not affected because 2.7 makes no attempt to display the path:
OSError: [Errno 2] No such file or directory
--
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16114
Chris Jerdonek added the comment:
It looks like the error is here:
if issubclass(child_exception_type, OSError) and hex_errno:
errno_num = int(hex_errno, 16)
if errno_num != 0:
err_msg = os.strerror(errno_num)
if errno_num == errno.ENOENT:
err_msg += ': ' +
Charles-François Natali added the comment:
since Antonie mentioned Py_AddPendingCall I came up with a patch describing
what he proposed.
Let me know if this patch can be improved or discarded(if the problem
requires a more sophisticated solution). In case of improvement I can also
Charles-François Natali added the comment:
I agree with Felipe that issues here can be difficult to diagnose. For
example the fd could get mistakingly closed, but the write() EBADF would then
be ignored and the expected signal wakeups would be lost.
Yeah, but it's also completely possible
101 - 106 of 106 matches
Mail list logo