Ross Lagerwall <rosslagerw...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10739>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to