bpo-34687: Make asynico use ProactorEventLoop by default (GH-9538)

This commit is contained in:
Victor Stinner 2018-09-25 08:27:08 -07:00 committed by Yury Selivanov
parent c8c0249c9e
commit 6ea29c5e90
7 changed files with 30 additions and 14 deletions

View file

@ -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