gh-134657: Remove newly added private names from asyncio.__all__ (#134665)

This commit is contained in:
Jelle Zijlstra 2025-07-09 00:55:46 -07:00 committed by GitHub
parent f1dcf3c7bf
commit 797abd1f7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 105 additions and 90 deletions

View file

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