Skip to content

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

@kumaraditya303 kumaraditya303 commented Dec 17, 2024

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

LGTM

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

Small nits.

Comment thread Doc/library/asyncio-policy.rst Outdated
Comment thread Lib/asyncio/events.py
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@kumaraditya303 kumaraditya303 merged commit 5892853 into python:main Dec 18, 2024
@kumaraditya303 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.
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