FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.10] gh-93453: Only emit deprecation warning in asyncio.get_event_loop when a new event loop is created by ambv · Pull Request #100059 · python/cpython · GitHub

/ cpython Public

[3.10] gh-93453: Only emit deprecation warning in asyncio.get_event_loop when a new event loop is created - #100059

Merged
ambv merged 2 commits into
python:3.10from
ambv:backport-3fae04b-3.10
Dec 6, 2022
Merged

[3.10] gh-93453: Only emit deprecation warning in asyncio.get_event_loop when a new event loop is created#100059
ambv merged 2 commits into
python:3.10from
ambv:backport-3fae04b-3.10

Conversation

ambv commented Dec 6, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

It no longer emits a deprecation warning if the current event loop was set.

(cherry picked from commit 3fae04b)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Łukasz Langa lukasz@langa.pl

Note: this backport also contains a change to tests_asyncio.test_tasks.BaseTaskTests.test_as_completed_coroutine_use_global_loop which was later removed in GH-31964 by Yury so is absent from Serhiy's changes to 3.11 and 3.12.

…o.get_event_loop when a new event loop is created (pythonGH-99949)

It no longer emits a deprecation warning if the current event loop was set.

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 3fae04b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
ambv requested a review from serhiy-storchaka December 6, 2022 15:52
Comment thread Doc/library/asyncio-eventloop.rst Outdated
ambv merged commit 300d812 into python:3.10 Dec 6, 2022
ambv deleted the backport-3fae04b-3.10 branch December 6, 2022 17: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


Back | FazBrowse Home | New Git URL