← 返回首页
gh-100160: Restore and deprecate implicit creation of an event loop by serhiy-storchaka · Pull Request #100410 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

gh-100160: Restore and deprecate implicit creation of an event loop#100410

Merged
serhiy-storchaka merged 7 commits into
python:mainfrom
serhiy-storchaka:asyncio-get_event_loop3-3.12
Jan 13, 2023
Merged

gh-100160: Restore and deprecate implicit creation of an event loop#100410
serhiy-storchaka merged 7 commits into
python:mainfrom
serhiy-storchaka:asyncio-get_event_loop3-3.12

Conversation

serhiy-storchaka commented Dec 21, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Partially revert changes made in GH-93453.

asyncio.DefaultEventLoopPolicy.get_event_loop() now emits a DeprecationWarning and creates and sets a new event loop instead of raising a RuntimeError if there is no current event loop set.

Partially revert changes made in pythonGH-93453. asyncio.DefaultEventLoopPolicy.get_event_loop() now emits a DeprecationWarning and creates and sets a new event loop instead of raising a RuntimeError if there is no current event loop set.
Comment thread Doc/library/asyncio-eventloop.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/asyncio-eventloop.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/asyncio-policy.rst Outdated Show resolved Hide resolved
Comment thread Lib/asyncio/events.py Show resolved Hide resolved
Comment thread Lib/asyncio/events.py Show resolved Hide resolved
Comment thread Misc/NEWS.d/next/Library/2022-12-21-17-49-50.gh-issue-100160.N0NHRj.rst Outdated Show resolved Hide resolved
serhiy-storchaka changed the title gh-100160: Deprecate implicit creation of an event loop gh-100160: Restore and deprecate implicit creation of an event loop Jan 12, 2023
serhiy-storchaka merged commit e5bd5ad into python:main Jan 13, 2023
serhiy-storchaka deleted the asyncio-get_event_loop3-3.12 branch January 13, 2023 12:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Footer

© 2026 GitHub, Inc.