This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients Gabriel Mesquita Cangussu, gvanrossum, paul.moore, steve.dower, tim.golden, vstinner, yselivanov, zach.ware
Date 2016-04-23.04:57:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461387445.01.0.213431846128.issue26832@psf.upfronthosting.co.za>
In-reply-to
Content
> 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()?
History
Date User Action Args
2016-04-23 04:57:25steve.dowersetrecipients: + steve.dower, gvanrossum, paul.moore, vstinner, tim.golden, zach.ware, yselivanov, Gabriel Mesquita Cangussu
2016-04-23 04:57:25steve.dowersetmessageid: <1461387445.01.0.213431846128.issue26832@psf.upfronthosting.co.za>
2016-04-23 04:57:24steve.dowerlinkissue26832 messages
2016-04-23 04:57:24steve.dowercreate