[issue26832] ProactorEventLoop doesn't support stdin/stdout nor files with connect_read_pipe/connect_write_pipe
Steve Dower
report at bugs.python.org
Sat Apr 23 00:57:25 EDT 2016
Steve Dower added the comment:
> File "C:\Program Files\Python35\lib\asyncio\windows_events.py", line 606, in _register_with_iocp
> _overlapped.CreateIoCompletionPort(obj.fileno(), self._iocp, 0, 0)
I don't think there's any case where this is going to work on an actual file - CreateIoCompletionPort needs a handle and not a file descriptor.
Presumably this line of code normally gets used with something else that defines fileno()?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26832>
_______________________________________
More information about the Python-bugs-list
mailing list