[docs] [issue10739] Subprocess behavior on Windows

Ross Lagerwall report at bugs.python.org
Mon Dec 20 16:07:22 CET 2010


Ross Lagerwall <rosslagerwall at gmail.com> added the comment:

Since the code in subprocess gets the underlying fileno of the file-like object (line 819 of subprocess.py), I presume it is an example of the general problem of files and sockets not mixing very well on Windows.

So, I have attached a patch to document this in socket.makefile().

However, I also see that *it* is documented in select.select() that it will not work with Windows file-like objects. Maybe there should still be a note in subprocess.Popen() as per the first patch?

----------
Added file: http://bugs.python.org/file20117/socketdoc.diff

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


More information about the docs mailing list