mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
Closes #22275: asyncio: enhance documentation of OS support
This commit is contained in:
parent
e218bcbf39
commit
41f3c3f226
2 changed files with 26 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue