← 返回首页
[3.11] gh-100160: Remove any deprecation warnings in asyncio.get_event_loop() by serhiy-storchaka · Pull Request #100412 · 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

[3.11] gh-100160: Remove any deprecation warnings in asyncio.get_event_loop()#100412

Merged
gvanrossum merged 8 commits into
python:3.11from
serhiy-storchaka:asyncio-get_event_loop3-3.11
Jan 10, 2023
Merged

[3.11] gh-100160: Remove any deprecation warnings in asyncio.get_event_loop()#100412
gvanrossum merged 8 commits into
python:3.11from
serhiy-storchaka:asyncio-get_event_loop3-3.11

Conversation

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

Copy link
Copy Markdown
Member

They are deferred to Python 3.12.

serhiy-storchaka added the needs backport to 3.10 only security fixes label Dec 21, 2022
gvanrossum changed the title gh-100160: Remove any deprecation warnings in asyncio.get_event_loop() gh-100160: [3.11] Remove any deprecation warnings in asyncio.get_event_loop() Dec 21, 2022
gvanrossum changed the title gh-100160: [3.11] Remove any deprecation warnings in asyncio.get_event_loop() [3.11] gh-100160: Remove any deprecation warnings in asyncio.get_event_loop() Dec 21, 2022

gvanrossum 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

Obv. this is a draft PR so this review is also a draft. :-)

Comment thread Doc/library/asyncio-eventloop.rst Show resolved Hide resolved
serhiy-storchaka marked this pull request as ready for review December 22, 2022 07:37

Copy link
Copy Markdown
Member Author

Thank you for your review Guido. I switched it to draft to be sure that it will not be accidentally merged.

The hard part in these PRs (#100410 and #100412) is documentation. It is difficult to find good place where all this mess should be documented, and I am bad in writing English. I think that non-documentation part is ready, but I am not sure about the documentation. Fill free to commit directly to this branch or create a new PR based on it.

gvanrossum 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

Here re a bunch of doc suggestions. I will merge those and then approve the PR.

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 Doc/library/asyncio-policy.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/asyncio-policy.rst Outdated Show resolved Hide resolved
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-eventloop.rst Outdated Show resolved Hide resolved

gvanrossum 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

Some more tense changes.

Comment thread Doc/library/asyncio-eventloop.rst Outdated Show resolved Hide resolved
Comment thread Doc/library/asyncio-policy.rst Outdated Show resolved Hide resolved
gvanrossum merged commit 1b2459d into python:3.11 Jan 10, 2023

Copy link
Copy Markdown
Contributor

Thanks @serhiy-storchaka for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

Copy link
Copy Markdown
Contributor

Sorry, @serhiy-storchaka and @gvanrossum, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 1b2459dc64b1c3eea89312ea9bf422f8d7c75bb2 3.10

serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Jan 12, 2023
…ncio.get_event_loop() (pythonGH-100412) Some deprecation warnings will reappear (in a slightly different form) in 3.12. Co-authored-by: Guido van Rossum <guido@python.org>. (cherry picked from commit 1b2459d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

Copy link
Copy Markdown

GH-100970 is a backport of this pull request to the 3.10 branch.

bedevere-bot removed the needs backport to 3.10 only security fixes label Jan 12, 2023
serhiy-storchaka added a commit that referenced this pull request Jan 13, 2023
…t_loop() (GH-100412) (GH-100970) Some deprecation warnings will reappear (in a slightly different form) in 3.12. Co-authored-by: Guido van Rossum <guido@python.org>. (cherry picked from commit 1b2459d)
serhiy-storchaka deleted the asyncio-get_event_loop3-3.11 branch January 13, 2023 07:35
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.

4 participants

Footer

© 2026 GitHub, Inc.