diff options
| author | Thomas Grainger <tagrain@gmail.com> | 2023-10-12 14:13:57 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-12 14:13:57 (GMT) |
| commit | 8c6c14b91bf95e04018151c53bce6e27e0e22447 (patch) | |
| tree | 10032d3467d24b4ef7d490173b10ae3bc9f28b5e /Lib/asyncio/windows_events.py | |
| parent | 1e3460d9faaffb35b3c6175c666b1f45aea2c1d8 (diff) | |
| download | cpython-8c6c14b91bf95e04018151c53bce6e27e0e22447.zip cpython-8c6c14b91bf95e04018151c53bce6e27e0e22447.tar.gz cpython-8c6c14b91bf95e04018151c53bce6e27e0e22447.tar.bz2 | |
gh-94597: Add asyncio.EventLoop (#110723)
This is needed to pave the way for deprecating and eventually killing the event loop policy system (which is over-engineered and rarely used).
Diffstat (limited to 'Lib/asyncio/windows_events.py')
| -rw-r--r-- | Lib/asyncio/windows_events.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/asyncio/windows_events.py b/Lib/asyncio/windows_events.py index c9a5fb8..4a4c4be 100644 --- a/Lib/asyncio/windows_events.py +++ b/Lib/asyncio/windows_events.py @@ -29,7 +29,7 @@ from .log import logger __all__ = ( 'SelectorEventLoop', 'ProactorEventLoop', 'IocpProactor', 'DefaultEventLoopPolicy', 'WindowsSelectorEventLoopPolicy', - 'WindowsProactorEventLoopPolicy', + 'WindowsProactorEventLoopPolicy', 'EventLoop', ) @@ -894,3 +894,4 @@ class WindowsProactorEventLoopPolicy(events.BaseDefaultEventLoopPolicy): DefaultEventLoopPolicy = WindowsProactorEventLoopPolicy +EventLoop = ProactorEventLoop |
