← 返回首页
gh-127949: deprecate `asyncio.set_event_loop_policy` by kumaraditya303 · Pull Request #128024 · 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-127949: deprecate asyncio.set_event_loop_policy#128024

Merged
kumaraditya303 merged 2 commits into
python:mainfrom
kumaraditya303:asyncio-deprecation
Dec 18, 2024
Merged

gh-127949: deprecate asyncio.set_event_loop_policy#128024
kumaraditya303 merged 2 commits into
python:mainfrom
kumaraditya303:asyncio-deprecation

Conversation

kumaraditya303 commented Dec 17, 2024
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor

I am skipping news for now, I'll add docs and what's new when all the work is completed at the end to avoid having many news entry for the same.

📚 Documentation preview 📚: https://cpython-previews--128024.org.readthedocs.build/

asvetlov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

LGTM

picnixz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

Small nits.

Comment thread Doc/library/asyncio-policy.rst Outdated Show resolved Hide resolved
Comment thread Lib/asyncio/events.py Show resolved Hide resolved
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
kumaraditya303 merged commit 5892853 into python:main Dec 18, 2024
kumaraditya303 deleted the asyncio-deprecation branch December 18, 2024 06:05
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Jan 8, 2025
…8024) First step towards deprecating the asyncio policy system. This deprecates `asyncio.set_event_loop_policy` and will be removed in Python 3.16.
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Footer

© 2026 GitHub, Inc.