diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-08-31 12:47:37 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-08-31 12:47:37 (GMT) |
commit | 41f3c3f226f167be40ce22ea21f76b30269f139d (patch) | |
tree | 6af0b5d49f4c9ee9d20339181d956df3e0f940bf /Doc/library/asyncio-eventloops.rst | |
parent | e218bcbf3936b5fb8124d22ecc7c0d2e92a8886b (diff) | |
download | cpython-41f3c3f226f167be40ce22ea21f76b30269f139d.zip cpython-41f3c3f226f167be40ce22ea21f76b30269f139d.tar.gz cpython-41f3c3f226f167be40ce22ea21f76b30269f139d.tar.bz2 |
Closes #22275: asyncio: enhance documentation of OS support
Diffstat (limited to 'Doc/library/asyncio-eventloops.rst')
-rw-r--r-- | Doc/library/asyncio-eventloops.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/library/asyncio-eventloops.rst b/Doc/library/asyncio-eventloops.rst index cc81001..282cc4b 100644 --- a/Doc/library/asyncio-eventloops.rst +++ b/Doc/library/asyncio-eventloops.rst @@ -39,6 +39,10 @@ asyncio currently provides two implementations of event loops: Use the most efficient selector available on the platform. + On Windows, only sockets are supported (ex: pipes are not supported): + see the `MSDN documentation of select + <http://msdn.microsoft.com/en-us/library/windows/desktop/ms740141%28v=vs.85%29.aspx>`_. + .. class:: ProactorEventLoop Proactor event loop for Windows using "I/O Completion Ports" aka IOCP. @@ -83,9 +87,7 @@ Common limits of Windows event loops: :class:`SelectorEventLoop` specific limits: -- :class:`~selectors.SelectSelector` is used but it only supports sockets, - see the `MSDN documentation of select - <http://msdn.microsoft.com/en-us/library/windows/desktop/ms740141%28v=vs.85%29.aspx>`_ +- :class:`~selectors.SelectSelector` is used but it only supports sockets - :meth:`~BaseEventLoop.add_reader` and :meth:`~BaseEventLoop.add_writer` only accept file descriptors of sockets - Pipes are not supported |