Message171852
| Author |
chris.jerdonek |
| Recipients |
asvetlov, chris.jerdonek |
| Date |
2012年10月03日.04:40:10 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1349239211.08.0.918848165288.issue16114@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 += ': ' + repr(args[0])
raise child_exception_type(errno_num, err_msg)
raise child_exception_type(err_msg)
http://hg.python.org/cpython/file/b40025e37bcd/Lib/subprocess.py#l1415
The "args[0]" should be "executable" when appropriate. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年10月03日 04:40:11 | chris.jerdonek | set | recipients:
+ chris.jerdonek, asvetlov |
| 2012年10月03日 04:40:11 | chris.jerdonek | set | messageid: <1349239211.08.0.918848165288.issue16114@psf.upfronthosting.co.za> |
| 2012年10月03日 04:40:11 | chris.jerdonek | link | issue16114 messages |
| 2012年10月03日 04:40:10 | chris.jerdonek | create |
|