mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-34687: Make asynico use ProactorEventLoop by default (GH-9538)
This commit is contained in:
parent
c8c0249c9e
commit
6ea29c5e90
7 changed files with 30 additions and 14 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue