[issue29989] subprocess.Popen does not handle file-like objects without file descriptors

Raphael Gaschignard report at bugs.python.org
Mon Apr 10 00:33:38 EDT 2017


Raphael Gaschignard added the comment:

that error is what is raised by StringIO (subclassing OSError), other file-like objects could just be raising OSError (according to the file object spec described in the documentation for the io module). 

Fixing documentation would already be helpful though. I will close this issue

----------
stage: test needed -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29989>
_______________________________________


More information about the Python-bugs-list mailing list