mirror of
https://github.com/python/cpython.git
synced 2025-10-26 19:24:34 +00:00
[3.14] gh-134657: Remove newly added private names from asyncio.__all__ (GH-134665) (#136455)
gh-134657: Remove newly added private names from asyncio.__all__ (GH-134665)
(cherry picked from commit 797abd1f7f)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
a9d2f08b57
commit
c29fce05f3
47 changed files with 105 additions and 90 deletions
|
|
@ -601,3 +601,9 @@ def func():
|
|||
await asyncio.sleep(0)
|
||||
if exc is not None:
|
||||
raise exc
|
||||
|
||||
|
||||
if sys.platform == 'win32':
|
||||
DefaultEventLoopPolicy = asyncio.windows_events._DefaultEventLoopPolicy
|
||||
else:
|
||||
DefaultEventLoopPolicy = asyncio.unix_events._DefaultEventLoopPolicy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue