summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-platforms.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/asyncio-platforms.rst')
-rw-r--r--Doc/library/asyncio-platforms.rst16
1 files changed, 6 insertions, 10 deletions
diff --git a/Doc/library/asyncio-platforms.rst b/Doc/library/asyncio-platforms.rst
index f8ecb58..81d840e 100644
--- a/Doc/library/asyncio-platforms.rst
+++ b/Doc/library/asyncio-platforms.rst
@@ -23,6 +23,10 @@ All Platforms
Windows
=======
+.. versionchanged:: 3.8
+
+ On Windows, :class:`ProactorEventLoop` is now the default event loop.
+
All event loops on Windows do not support the following methods:
* :meth:`loop.create_unix_connection` and
@@ -67,16 +71,8 @@ Windows configuration.
Subprocess Support on Windows
-----------------------------
-:class:`SelectorEventLoop` on Windows does not support subproceses.
-On Windows, :class:`ProactorEventLoop` should be used instead::
-
- import asyncio
-
- asyncio.set_event_loop_policy(
- asyncio.WindowsProactorEventLoopPolicy())
-
- asyncio.run(your_code())
-
+On Windows, the default event loop :class:`ProactorEventLoop` supports
+subprocesses, whereas :class:`SelectorEventLoop` does not.
The :meth:`policy.set_child_watcher()
<AbstractEventLoopPolicy.set_child_watcher>` function is also