This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients db3l, gregory.p.smith, ncoghlan, ned.deily, pitrou, ronaldoussoren, vstinner
Date 2011-01-04.00:41:05
SpamBayes Score 3.4994e-06
Marked as misclassified No
Message-id <>
Well, it occurred today again :)

test test_cmd_line failed -- Traceback (most recent call last):
  File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/test/", line 95, in test_run_code
  File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/test/", line 57, in assert_python_failure
    return _assert_python(False, *args, **env_vars)
  File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/test/", line 30, in _assert_python
  File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/", line 721, in __init__
    self.stdin =, 'wb', bufsize)
OSError: [Errno 9] Bad file descriptor

But I would suggest an OS X bug instead. My random guess is that the child process exits very quickly (as you see, it runs "python -c" which is an immediate error), therefore the other end of the pipe gets closed and OS X then returns EBADF when we try to do something with our end of the pipe.
Date User Action Args
2011-01-04 00:41:07pitrousetrecipients: + pitrou, gregory.p.smith, db3l, ronaldoussoren, ncoghlan, vstinner, ned.deily
2011-01-04 00:41:07pitrousetmessageid: <>
2011-01-04 00:41:05pitroulinkissue8458 messages
2011-01-04 00:41:05pitroucreate