René's URL Explorer Experiment


Title: [3.11] gh-93453: Only emit deprecation warning in asyncio.get_event_loop when a new event loop is created by serhiy-storchaka · Pull Request #99949 · python/cpython · GitHub

Open Graph Title: [3.11] gh-93453: Only emit deprecation warning in asyncio.get_event_loop when a new event loop is created by serhiy-storchaka · Pull Request #99949 · python/cpython

X Title: [3.11] gh-93453: Only emit deprecation warning in asyncio.get_event_loop when a new event loop is created by serhiy-storchaka · Pull Request #99949 · python/cpython

Description: It no longer emits a deprecation warning if the current event loop was set. Issue: Finish deprecation in asyncio.get_event_loop() #93453

Open Graph Description: It no longer emits a deprecation warning if the current event loop was set. Issue: Finish deprecation in asyncio.get_event_loop() #93453

X Description: It no longer emits a deprecation warning if the current event loop was set. Issue: Finish deprecation in asyncio.get_event_loop() #93453

Opengraph URL: https://github.com/python/cpython/pull/99949

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:79cd1ec0-5a83-7872-4759-a208c812b0c4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAAE2:365F9C:3869FF:49696D:696B3E09
html-safe-nonced345c0c067776f7090c310bdb2aea939834fd17812162f1c3903277f7983e792
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUUyOjM2NUY5QzozODY5RkY6NDk2OTZEOjY5NkIzRTA5IiwidmlzaXRvcl9pZCI6IjU4MTE1MDAyNjEyMDg0NDAzMjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac590a784fff9635baaab7912c035f8827ad7a51f6596704377b43fc1ed65b85a7
hovercard-subject-tagpull_request:1143081044
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/99949/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/87c081348c596c76f0dbe9f297bb11ffa5a6dbb06c7907e785a9c9ffe12599d1/python/cpython/pull/99949
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/87c081348c596c76f0dbe9f297bb11ffa5a6dbb06c7907e785a9c9ffe12599d1/python/cpython/pull/99949
og:image:altIt no longer emits a deprecation warning if the current event loop was set. Issue: Finish deprecation in asyncio.get_event_loop() #93453
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/99949#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F99949
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F99949
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/99949
Reloadhttps://github.com/python/cpython/pull/99949
Reloadhttps://github.com/python/cpython/pull/99949
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/99949
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/99949
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/99949#issue-comment-box
ambvhttps://github.com/ambv
python:3.11https://github.com/python/cpython/tree/3.11
serhiy-storchaka:asyncio-get_event_loop2-3.11https://github.com/serhiy-storchaka/cpython/tree/asyncio-get_event_loop2-3.11
[3.11] gh-93453: Only emit deprecation warning in asyncio.get_event_loop when a new event loop is created https://github.com/python/cpython/pull/99949#top
ambvhttps://github.com/ambv
python:3.11https://github.com/python/cpython/tree/3.11
serhiy-storchaka:asyncio-get_event_loop2-3.11https://github.com/serhiy-storchaka/cpython/tree/asyncio-get_event_loop2-3.11
Conversation 18 https://github.com/python/cpython/pull/99949
Commits 6 https://github.com/python/cpython/pull/99949/commits
Checks 0 https://github.com/python/cpython/pull/99949/checks
Files changed 13 https://github.com/python/cpython/pull/99949/files
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 2, 2022https://github.com/python/cpython/pull/99949#issue-1472694874
Please reload this pagehttps://github.com/python/cpython/pull/99949
Finish deprecation in asyncio.get_event_loop() #93453https://github.com/python/cpython/issues/93453
Please reload this pagehttps://github.com/python/cpython/pull/99949
https://github.com/serhiy-storchaka
pythongh-93453https://github.com/python/cpython/issues/93453
: Only emit deprecation warning in asyncio.get_event_lo…https://github.com/python/cpython/pull/99949/commits/28c7d0287df29e9fe8e122a8a09cf59d15941a45
28c7d02https://github.com/python/cpython/pull/99949/commits/28c7d0287df29e9fe8e122a8a09cf59d15941a45
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
1st1https://github.com/1st1
asvetlovhttps://github.com/asvetlov
gvanrossumhttps://github.com/gvanrossum
December 2, 2022 11:08https://github.com/python/cpython/pull/99949#event-7939776825
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Dec 2, 2022 https://github.com/python/cpython/pull/99949#ref-issue-1259542498
Finish deprecation in asyncio.get_event_loop() #93453 https://github.com/python/cpython/issues/93453
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Dec 2, 2022https://github.com/python/cpython/pull/99949#event-7939777402
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 2, 2022https://github.com/python/cpython/pull/99949#event-7939786766
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 2, 2022 https://github.com/python/cpython/pull/99949#ref-pullrequest-1414743994
gh-93453: No longer create an event loop in get_event_loop() #98440 https://github.com/python/cpython/pull/98440
https://github.com/ambv
Merge branch '3.11' into asyncio-get_event_loop2-3.11https://github.com/python/cpython/pull/99949/commits/c6cbcb9f7254c2365fcadb8933a9ed1ff98d6c73
c6cbcb9https://github.com/python/cpython/pull/99949/commits/c6cbcb9f7254c2365fcadb8933a9ed1ff98d6c73
https://github.com/ambv
ambvhttps://github.com/ambv
Dec 5, 2022https://github.com/python/cpython/pull/99949#issuecomment-1337625745
#98440 (comment)https://github.com/python/cpython/pull/98440#issuecomment-1334225166
@serhiy-storchakahttps://github.com/serhiy-storchaka
@gvanrossumhttps://github.com/gvanrossum
@kumaraditya303https://github.com/kumaraditya303
Please reload this pagehttps://github.com/python/cpython/pull/99949
https://github.com/ambv
ambvhttps://github.com/ambv
Dec 5, 2022https://github.com/python/cpython/pull/99949#issuecomment-1337629007
Please reload this pagehttps://github.com/python/cpython/pull/99949
https://github.com/serhiy-storchaka
Restore asyncio._get_event_loop().https://github.com/python/cpython/pull/99949/commits/a7a2804a58f71230843a9001f01b78b1204d6210
a7a2804https://github.com/python/cpython/pull/99949/commits/a7a2804a58f71230843a9001f01b78b1204d6210
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 5, 2022https://github.com/python/cpython/pull/99949#issuecomment-1337714439
Please reload this pagehttps://github.com/python/cpython/pull/99949
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 5, 2022 https://github.com/python/cpython/pull/99949#pullrequestreview-1204909172
View reviewed changes https://github.com/python/cpython/pull/99949/files/a7a2804a58f71230843a9001f01b78b1204d6210
Modules/_asynciomodule.chttps://github.com/python/cpython/pull/99949/files/a7a2804a58f71230843a9001f01b78b1204d6210#diff-6bd9e39980b88a721d902bcd915bbb3f24762f7f253430c45e52c42a2c5afd01
Please reload this pagehttps://github.com/python/cpython/pull/99949
https://github.com/ambv
ambvhttps://github.com/ambv
Dec 5, 2022https://github.com/python/cpython/pull/99949#issuecomment-1337729503
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/99949
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Dec 6, 2022 https://github.com/python/cpython/pull/99949#pullrequestreview-1205527296
View reviewed changes https://github.com/python/cpython/pull/99949/files/a7a2804a58f71230843a9001f01b78b1204d6210
gvanrossumhttps://github.com/gvanrossum
https://github.com/python/cpython/pull/99949#pullrequestreview-1205527296
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/99949
Doc/library/asyncio-eventloop.rsthttps://github.com/python/cpython/pull/99949/files/a7a2804a58f71230843a9001f01b78b1204d6210#diff-afc9fa8b85212e4ea584ce77305955d6600c58f10e0bf2c04e4153ee2d204652
Please reload this pagehttps://github.com/python/cpython/pull/99949
Doc/library/asyncio-policy.rsthttps://github.com/python/cpython/pull/99949/files/a7a2804a58f71230843a9001f01b78b1204d6210#diff-e62878ae42b3d224bef59a2ea83554f798a9de95b531375637aa4d2461ece8f6
Please reload this pagehttps://github.com/python/cpython/pull/99949
Lib/asyncio/events.pyhttps://github.com/python/cpython/pull/99949/files/a7a2804a58f71230843a9001f01b78b1204d6210#diff-05b057af187459b133df09e1d12385ac3c3735d3981c9f6109c754af0020e8c3
Please reload this pagehttps://github.com/python/cpython/pull/99949
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Dec 6, 2022https://github.com/python/cpython/pull/99949#event-7960607808
serhiy-storchakahttps://github.com/serhiy-storchaka
December 6, 2022 12:38https://github.com/python/cpython/pull/99949#commits-pushed-85d3c36
https://github.com/serhiy-storchaka
Address review comments.https://github.com/python/cpython/pull/99949/commits/85d3c363f2c0ea3223c2e7464183ff3933a85e43
85d3c36https://github.com/python/cpython/pull/99949/commits/85d3c363f2c0ea3223c2e7464183ff3933a85e43
https://github.com/serhiy-storchaka
Merge branch '3.11' into asyncio-get_event_loop2-3.11https://github.com/python/cpython/pull/99949/commits/8d5072b6d5ee8d382e74bdba84a81755e27f119e
8d5072bhttps://github.com/python/cpython/pull/99949/commits/8d5072b6d5ee8d382e74bdba84a81755e27f119e
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 6, 2022https://github.com/python/cpython/pull/99949#issuecomment-1339128880
Please reload this pagehttps://github.com/python/cpython/pull/99949
https://github.com/ambv
Revert removal of asyncio.events._get_event_loop and _asyncio._get_ev…https://github.com/python/cpython/pull/99949/commits/199433cb08a48d95e92462daf56da3bae6cf6077
199433chttps://github.com/python/cpython/pull/99949/commits/199433cb08a48d95e92462daf56da3bae6cf6077
https://github.com/ambv
ambvhttps://github.com/ambv
Dec 6, 2022https://github.com/python/cpython/pull/99949#issuecomment-1339331698
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/99949
https://github.com/ambv
ambvhttps://github.com/ambv
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
Dec 6, 2022https://github.com/python/cpython/pull/99949#event-7966388499
https://github.com/ambv
ambvhttps://github.com/ambv
3fae04bhttps://github.com/python/cpython/commit/3fae04b10e2655a20a3aadb5e0d63e87206d0c67
Dec 6, 2022https://github.com/python/cpython/pull/99949#event-7967650721
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Dec 6, 2022https://github.com/python/cpython/pull/99949#issuecomment-1339536581
@serhiy-storchakahttps://github.com/serhiy-storchaka
@ambvhttps://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/99949
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Dec 6, 2022https://github.com/python/cpython/pull/99949#event-7967651537
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Dec 6, 2022https://github.com/python/cpython/pull/99949#issuecomment-1339536639
@serhiy-storchakahttps://github.com/serhiy-storchaka
@ambvhttps://github.com/ambv
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/99949
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
ambvhttps://github.com/ambv
Dec 6, 2022https://github.com/python/cpython/pull/99949#event-7967652134
https://github.com/ambv
ambvhttps://github.com/ambv
Dec 6, 2022https://github.com/python/cpython/pull/99949#issuecomment-1339539615
Please reload this pagehttps://github.com/python/cpython/pull/99949
ambvhttps://github.com/ambv
Dec 6, 2022 https://github.com/python/cpython/pull/99949#ref-commit-41e6a4c
https://github.com/serhiy-storchaka
https://github.com/ambv
[3.10] [3.11]https://github.com/ambv/cpython/commit/41e6a4c3947fd33789884bf399f5457b68d7b6b7
pythongh-93453https://github.com/python/cpython/issues/93453
: Only emit deprecation warning in asynci…https://github.com/ambv/cpython/commit/41e6a4c3947fd33789884bf399f5457b68d7b6b7
41e6a4chttps://github.com/ambv/cpython/commit/41e6a4c3947fd33789884bf399f5457b68d7b6b7
pythonGH-99949https://github.com/python/cpython/pull/99949
3fae04bhttps://github.com/ambv/cpython/commit/3fae04b10e2655a20a3aadb5e0d63e87206d0c67
https://github.com/blink1073
blink1073https://github.com/blink1073
Jun 14, 2023 https://github.com/python/cpython/pull/99949#ref-pullrequest-1751814175
Clean up event loop handling miguelgrinberg/greenletio#11 https://github.com/miguelgrinberg/greenletio/pull/11
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
Feb 17, 2025https://github.com/python/cpython/pull/99949#event-16336544612
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F99949
https://github.com/ambv
ambv https://github.com/ambv
https://github.com/python/cpython/pull/99949/files/a7a2804a58f71230843a9001f01b78b1204d6210
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/python/cpython/pull/99949/files/a7a2804a58f71230843a9001f01b78b1204d6210
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/asvetlov
asvetlov https://github.com/asvetlov
https://github.com/ambv
ambv https://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/99949
https://github.com/serhiy-storchaka
https://github.com/ambv
https://github.com/miss-islington
https://github.com/gvanrossum
https://github.com/bedevere-bot
https://github.com/ZeroIntensity
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.