Message291407
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) |
|
Date |
User |
Action |
Args |
2017-04-10 03:14:39 | martin.panter | set | recipients:
+ martin.panter, terry.reedy, josh.r, xiang.zhang, rtpg |
2017-04-10 03:14:39 | martin.panter | set | messageid: <1491794079.8.0.0312071236201.issue29989@psf.upfronthosting.co.za> |
2017-04-10 03:14:39 | martin.panter | link | issue29989 messages |
2017-04-10 03:14:39 | martin.panter | create | |
|