GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-127949: deprecate `asyncio.set_event_loop_policy` by kumaraditya303 · Pull Request #128024 · python/cpython

Conversation

@kumaraditya303

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

Uh oh!

There was an error while loading. Please reload this page.

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.

  • Issue: Deprecate asyncio policy system #127949

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@kumaraditya303
deprecate set_event_loop_policy
ea1e3ba
@kumaraditya303 kumaraditya303 added topic-asyncio skip news labels Dec 17, 2024
@kumaraditya303
kumaraditya303 requested review from 1st1, asvetlov, cjw296, gaogaotiantian, vsajip and willingc as code owners December 17, 2024 11:30
@bedevere-app bedevere-app Bot mentioned this pull request Dec 17, 2024
Deprecate asyncio policy system #127949
Closed
7 tasks done
@bedevere-app bedevere-app Bot added the awaiting core review label Dec 17, 2024
asvetlov
asvetlov approved these changes Dec 17, 2024
View reviewed changes

@asvetlov asvetlov left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting core review labels Dec 17, 2024
picnixz
picnixz reviewed Dec 17, 2024
View reviewed changes

@picnixz picnixz left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Small nits.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread Doc/library/asyncio-policy.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Lib/asyncio/events.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@kumaraditya303 @picnixz
Update Doc/library/asyncio-policy.rst
988ee8c
Co-authored-by: Bénédikt Tran <[email protected]>
picnixz
picnixz approved these changes Dec 17, 2024
View reviewed changes
@kumaraditya303
kumaraditya303 merged commit 5892853 into python:main Dec 18, 2024
@bedevere-app bedevere-app Bot removed the awaiting merge label Dec 18, 2024
@kumaraditya303
kumaraditya303 deleted the asyncio-deprecation branch December 18, 2024 06:05
@Eclips4 Eclips4 mentioned this pull request Dec 23, 2024
gh-128201: Fix DeprecationWarning in Lib/test/test_pdb.py #128202
Merged
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Jan 8, 2025
@kumaraditya303 @srinivasreddy
pythongh-127949: deprecate asyncio.set_event_loop_policy (python#12…
0a4f302
…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

Reviewers

@asvetlov asvetlov asvetlov approved these changes
@picnixz picnixz picnixz approved these changes
@gaogaotiantian gaogaotiantian Awaiting requested review from gaogaotiantian gaogaotiantian is a code owner
@cjw296 cjw296 Awaiting requested review from cjw296 cjw296 is a code owner
@vsajip vsajip Awaiting requested review from vsajip vsajip is a code owner
@1st1 1st1 Awaiting requested review from 1st1 1st1 is a code owner
@willingc willingc Awaiting requested review from willingc willingc is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news topic-asyncio

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@kumaraditya303 @asvetlov @picnixz
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.