summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-policy.rst
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-09-25 15:27:08 (GMT)
committerYury Selivanov <yury@magic.io>2018-09-25 15:27:08 (GMT)
commit6ea29c5e90dde6c240bd8e0815614b52ac307ea1 (patch)
treeb13f44020dc742f6d06d8adb71961b734b06c2ea /Doc/library/asyncio-policy.rst
parentc8c0249c9e8f61ab7670119a5a5278354df27bbb (diff)
downloadcpython-6ea29c5e90dde6c240bd8e0815614b52ac307ea1.zip
cpython-6ea29c5e90dde6c240bd8e0815614b52ac307ea1.tar.gz
cpython-6ea29c5e90dde6c240bd8e0815614b52ac307ea1.tar.bz2
bpo-34687: Make asynico use ProactorEventLoop by default (GH-9538)
Diffstat (limited to 'Doc/library/asyncio-policy.rst')
-rw-r--r--Doc/library/asyncio-policy.rst14
1 files changed, 13 insertions, 1 deletions
diff --git a/Doc/library/asyncio-policy.rst b/Doc/library/asyncio-policy.rst
index 42f936d..560f8b3 100644
--- a/Doc/library/asyncio-policy.rst
+++ b/Doc/library/asyncio-policy.rst
@@ -92,11 +92,23 @@ asyncio ships with the following built-in policies:
.. class:: DefaultEventLoopPolicy
The default asyncio policy. Uses :class:`SelectorEventLoop`
- on both Unix and Windows platforms.
+ on Unix and :class:`ProactorEventLoop` on Windows.
There is no need to install the default policy manually. asyncio
is configured to use the default policy automatically.
+ .. versionchanged:: 3.8
+
+ On Windows, :class:`ProactorEventLoop` is now used by default.
+
+
+.. class:: WindowsSelectorEventLoopPolicy
+
+ An alternative event loop policy that uses the
+ :class:`SelectorEventLoop` event loop implementation.
+
+ Availability: Windows.
+
.. class:: WindowsProactorEventLoopPolicy