René's URL Explorer Experiment


Title: gh-100160: Restore and deprecate implicit creation of an event loop by serhiy-storchaka · Pull Request #100410 · python/cpython · GitHub

Open Graph Title: gh-100160: Restore and deprecate implicit creation of an event loop by serhiy-storchaka · Pull Request #100410 · python/cpython

X Title: gh-100160: Restore and deprecate implicit creation of an event loop by serhiy-storchaka · Pull Request #100410 · python/cpython

Description: Partially revert changes made in GH-93453. asyncio.DefaultEventLoopPolicy.get_event_loop() now emits a DeprecationWarning and creates and sets a new event loop instead of raising a RuntimeError if there is no current event loop set. Issue: gh-100160

Open Graph Description: Partially revert changes made in GH-93453. asyncio.DefaultEventLoopPolicy.get_event_loop() now emits a DeprecationWarning and creates and sets a new event loop instead of raising a RuntimeError if ...

X Description: Partially revert changes made in GH-93453. asyncio.DefaultEventLoopPolicy.get_event_loop() now emits a DeprecationWarning and creates and sets a new event loop instead of raising a RuntimeError if ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5738ca1d-5eea-f174-e5c5-32be05ed52d5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEC44:3CA024:17664E4:20C324B:696A4784
html-safe-nonce7725f849665a42e9ff756d92185b50cde26f84d8e2932ef6e1bd64a32f8d65ca
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzQ0OjNDQTAyNDoxNzY2NEU0OjIwQzMyNEI6Njk2QTQ3ODQiLCJ2aXNpdG9yX2lkIjoiNTU0ODc1OTQ0MjIxNjYwMTQ3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac578565d2683de9a1a29008313f7011dac779a7d2167e3067b021b4d779b5cb35
hovercard-subject-tagpull_request:1173905270
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/100410/files
twitter:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
og:image:altPartially revert changes made in GH-93453. asyncio.DefaultEventLoopPolicy.get_event_loop() now emits a DeprecationWarning and creates and sets a new event loop instead of raising a RuntimeError if ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release63c426b30d262aba269ef14c40e3c817b384cd61
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/100410/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F100410%2Ffiles
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%2F100410%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/100410/files
Reloadhttps://github.com/python/cpython/pull/100410/files
Reloadhttps://github.com/python/cpython/pull/100410/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/100410/files
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/100410/files
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
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:asyncio-get_event_loop3-3.12https://github.com/serhiy-storchaka/cpython/tree/asyncio-get_event_loop3-3.12
Conversation 12 https://github.com/python/cpython/pull/100410
Commits 7 https://github.com/python/cpython/pull/100410/commits
Checks 0 https://github.com/python/cpython/pull/100410/checks
Files changed https://github.com/python/cpython/pull/100410/files
Please reload this pagehttps://github.com/python/cpython/pull/100410/files
gh-100160: Restore and deprecate implicit creation of an event loop https://github.com/python/cpython/pull/100410/files#top
Show all changes 7 commits https://github.com/python/cpython/pull/100410/files
8800552 gh-100160: Deprecate implicit creation of an event loop serhiy-storchaka Dec 21, 2022 https://github.com/python/cpython/pull/100410/commits/8800552ea5cff9bfdb1681ad2128efd059e32702
711efbf Apply suggestions from code review serhiy-storchaka Dec 22, 2022 https://github.com/python/cpython/pull/100410/commits/711efbf5d7d731945e1cfed04ca27f9cf6ba505b
0feec4c Apply suggestions from the code review. serhiy-storchaka Dec 22, 2022 https://github.com/python/cpython/pull/100410/commits/0feec4c0f5e3cd8a2fe013f6437b1d5ff0fb7736
0976177 Merge branch 'asyncio-get_event_loop3-3.12' of github.com:serhiy-stor… serhiy-storchaka Dec 22, 2022 https://github.com/python/cpython/pull/100410/commits/0976177f13aa946ce82b4d9dc762bac9dc05f7b2
ee1242d Merge branch 'main' into asyncio-get_event_loop3-3.12 serhiy-storchaka Dec 22, 2022 https://github.com/python/cpython/pull/100410/commits/ee1242d0a005f24d1a55c69deaab3664414b1e3c
1e22c6f Tweak the documentation. serhiy-storchaka Jan 12, 2023 https://github.com/python/cpython/pull/100410/commits/1e22c6f1c1c1b64e9432704a786e484982862ede
cc34df5 Merge branch 'main' into asyncio-get_event_loop3-3.12 serhiy-storchaka Jan 12, 2023 https://github.com/python/cpython/pull/100410/commits/cc34df5e38b140e917a6d2224e3438e2c47fdf98
Clear filters https://github.com/python/cpython/pull/100410/files
Please reload this pagehttps://github.com/python/cpython/pull/100410/files
Please reload this pagehttps://github.com/python/cpython/pull/100410/files
asyncio-eventloop.rst https://github.com/python/cpython/pull/100410/files#diff-afc9fa8b85212e4ea584ce77305955d6600c58f10e0bf2c04e4153ee2d204652
asyncio-policy.rst https://github.com/python/cpython/pull/100410/files#diff-e62878ae42b3d224bef59a2ea83554f798a9de95b531375637aa4d2461ece8f6
3.10.rst https://github.com/python/cpython/pull/100410/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
3.12.rst https://github.com/python/cpython/pull/100410/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b
events.py https://github.com/python/cpython/pull/100410/files#diff-05b057af187459b133df09e1d12385ac3c3735d3981c9f6109c754af0020e8c3
test_events.py https://github.com/python/cpython/pull/100410/files#diff-b125df0ba39acde9a49ff4ce6a554310cab3daf258a2e77c219fce5a8b17c146
test_unix_events.py https://github.com/python/cpython/pull/100410/files#diff-78695ed3f8e6b470fdf3701f14dd71a2ef5c039e21f398f043cd78c7dda6135c
2022-12-21-17-49-50.gh-issue-100160.N0NHRj.rst https://github.com/python/cpython/pull/100410/files#diff-b28bd8df8bc6b7a84799eded2b1a8c4ffc38424401511d89ff0d288b294b834e
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L367
Doc/library/asyncio-eventloop.rsthttps://github.com/python/cpython/pull/100410/files#diff-afc9fa8b85212e4ea584ce77305955d6600c58f10e0bf2c04e4153ee2d204652
View file https://github.com/serhiy-storchaka/cpython/blob/cc34df5e38b140e917a6d2224e3438e2c47fdf98/Doc/library/asyncio-eventloop.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100410/{{ revealButtonHref }}
https://github.com/python/cpython/pull/100410/files#diff-afc9fa8b85212e4ea584ce77305955d6600c58f10e0bf2c04e4153ee2d204652
https://github.com/python/cpython/pull/100410/files#diff-afc9fa8b85212e4ea584ce77305955d6600c58f10e0bf2c04e4153ee2d204652
https://github.com/python/cpython/pull/100410/files#diff-afc9fa8b85212e4ea584ce77305955d6600c58f10e0bf2c04e4153ee2d204652
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L367
Doc/library/asyncio-policy.rsthttps://github.com/python/cpython/pull/100410/files#diff-e62878ae42b3d224bef59a2ea83554f798a9de95b531375637aa4d2461ece8f6
View file https://github.com/serhiy-storchaka/cpython/blob/cc34df5e38b140e917a6d2224e3438e2c47fdf98/Doc/library/asyncio-policy.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100410/{{ revealButtonHref }}
https://github.com/python/cpython/pull/100410/files#diff-e62878ae42b3d224bef59a2ea83554f798a9de95b531375637aa4d2461ece8f6
https://github.com/python/cpython/pull/100410/files#diff-e62878ae42b3d224bef59a2ea83554f798a9de95b531375637aa4d2461ece8f6
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114
Doc/whatsnew/3.10.rsthttps://github.com/python/cpython/pull/100410/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
View file https://github.com/serhiy-storchaka/cpython/blob/cc34df5e38b140e917a6d2224e3438e2c47fdf98/Doc/whatsnew/3.10.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100410/{{ revealButtonHref }}
https://github.com/python/cpython/pull/100410/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
https://github.com/python/cpython/pull/100410/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114
Doc/whatsnew/3.12.rsthttps://github.com/python/cpython/pull/100410/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b
View file https://github.com/serhiy-storchaka/cpython/blob/cc34df5e38b140e917a6d2224e3438e2c47fdf98/Doc/whatsnew/3.12.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100410/{{ revealButtonHref }}
https://github.com/python/cpython/pull/100410/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b
https://github.com/python/cpython/pull/100410/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b
https://github.com/python/cpython/pull/100410/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b
https://github.com/python/cpython/pull/100410/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L369
Lib/asyncio/events.pyhttps://github.com/python/cpython/pull/100410/files#diff-05b057af187459b133df09e1d12385ac3c3735d3981c9f6109c754af0020e8c3
View file https://github.com/serhiy-storchaka/cpython/blob/cc34df5e38b140e917a6d2224e3438e2c47fdf98/Lib/asyncio/events.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100410/{{ revealButtonHref }}
https://github.com/python/cpython/pull/100410/files#diff-05b057af187459b133df09e1d12385ac3c3735d3981c9f6109c754af0020e8c3
https://github.com/python/cpython/pull/100410/files#diff-05b057af187459b133df09e1d12385ac3c3735d3981c9f6109c754af0020e8c3
https://github.com/python/cpython/pull/100410/files#diff-05b057af187459b133df09e1d12385ac3c3735d3981c9f6109c754af0020e8c3
Please reload this pagehttps://github.com/python/cpython/pull/100410/files
Please reload this pagehttps://github.com/python/cpython/pull/100410/files
https://github.com/python/cpython/pull/100410/files#diff-05b057af187459b133df09e1d12385ac3c3735d3981c9f6109c754af0020e8c3
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L370
Lib/test/test_asyncio/test_events.pyhttps://github.com/python/cpython/pull/100410/files#diff-b125df0ba39acde9a49ff4ce6a554310cab3daf258a2e77c219fce5a8b17c146
View file https://github.com/serhiy-storchaka/cpython/blob/cc34df5e38b140e917a6d2224e3438e2c47fdf98/Lib/test/test_asyncio/test_events.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100410/{{ revealButtonHref }}
https://github.com/python/cpython/pull/100410/files#diff-b125df0ba39acde9a49ff4ce6a554310cab3daf258a2e77c219fce5a8b17c146
https://github.com/python/cpython/pull/100410/files#diff-b125df0ba39acde9a49ff4ce6a554310cab3daf258a2e77c219fce5a8b17c146
https://github.com/python/cpython/pull/100410/files#diff-b125df0ba39acde9a49ff4ce6a554310cab3daf258a2e77c219fce5a8b17c146
https://github.com/python/cpython/pull/100410/files#diff-b125df0ba39acde9a49ff4ce6a554310cab3daf258a2e77c219fce5a8b17c146
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L370
Lib/test/test_asyncio/test_unix_events.pyhttps://github.com/python/cpython/pull/100410/files#diff-78695ed3f8e6b470fdf3701f14dd71a2ef5c039e21f398f043cd78c7dda6135c
View file https://github.com/serhiy-storchaka/cpython/blob/cc34df5e38b140e917a6d2224e3438e2c47fdf98/Lib/test/test_asyncio/test_unix_events.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100410/{{ revealButtonHref }}
https://github.com/python/cpython/pull/100410/files#diff-78695ed3f8e6b470fdf3701f14dd71a2ef5c039e21f398f043cd78c7dda6135c
https://github.com/python/cpython/pull/100410/files#diff-78695ed3f8e6b470fdf3701f14dd71a2ef5c039e21f398f043cd78c7dda6135c
https://github.com/python/cpython/pull/100410/files#diff-78695ed3f8e6b470fdf3701f14dd71a2ef5c039e21f398f043cd78c7dda6135c
Misc/NEWS.d/next/Library/2022-12-21-17-49-50.gh-issue-100160.N0NHRj.rsthttps://github.com/python/cpython/pull/100410/files#diff-b28bd8df8bc6b7a84799eded2b1a8c4ffc38424401511d89ff0d288b294b834e
View file https://github.com/serhiy-storchaka/cpython/blob/cc34df5e38b140e917a6d2224e3438e2c47fdf98/Misc/NEWS.d/next/Library/2022-12-21-17-49-50.gh-issue-100160.N0NHRj.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100410/{{ revealButtonHref }}
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.