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 martin.panter
Recipients josh.r, martin.panter, rtpg, terry.reedy, xiang.zhang
Date 2017-04-10.03:14:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491794079.8.0.0312071236201.issue29989@psf.upfronthosting.co.za>
In-reply-to
Content
The current exception seems to give a reasonable hint:

>>> subprocess.Popen((executable,), stdout=BytesIO())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.5/subprocess.py", line 914, in __init__
    errread, errwrite) = self._get_handles(stdin, stdout, stderr)
  File "/usr/lib/python3.5/subprocess.py", line 1400, in _get_handles
    c2pwrite = stdout.fileno()
io.UnsupportedOperation: fileno

Perhaps we can close this in favour of fixing the documentation? (Issue 19992)
History
Date User Action Args
2017-04-10 03:14:39martin.pantersetrecipients: + martin.panter, terry.reedy, josh.r, xiang.zhang, rtpg
2017-04-10 03:14:39martin.pantersetmessageid: <1491794079.8.0.0312071236201.issue29989@psf.upfronthosting.co.za>
2017-04-10 03:14:39martin.panterlinkissue29989 messages
2017-04-10 03:14:39martin.pantercreate