Title: Finish deprecation in asyncio.get_event_loop() · Issue #93453 · python/cpython · GitHub
Open Graph Title: Finish deprecation in asyncio.get_event_loop() · Issue #93453 · python/cpython
X Title: Finish deprecation in asyncio.get_event_loop() · Issue #93453 · python/cpython
Description: Since 3.10 asyncio.get_event_loop() emits a deprecation warning if used outside of the event loop (see #83710). It is a time to turn a warning into error and make asyncio.get_event_loop() an alias of asyncio.get_running_loop(). But maybe...
Open Graph Description: Since 3.10 asyncio.get_event_loop() emits a deprecation warning if used outside of the event loop (see #83710). It is a time to turn a warning into error and make asyncio.get_event_loop() an alias ...
X Description: Since 3.10 asyncio.get_event_loop() emits a deprecation warning if used outside of the event loop (see #83710). It is a time to turn a warning into error and make asyncio.get_event_loop() an alias ...
Opengraph URL: https://github.com/python/cpython/issues/93453
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Finish deprecation in asyncio.get_event_loop()","articleBody":"Since 3.10 `asyncio.get_event_loop()` emits a deprecation warning if used outside of the event loop (see #83710). It is a time to turn a warning into error and make `asyncio.get_event_loop()` an alias of `asyncio.get_running_loop()`.\r\n\r\nBut maybe we should first deprecate `set_event_loop()`? It will be a no-op now.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-98440\n* gh-99949\n* gh-100059\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/serhiy-storchaka","@type":"Person","name":"serhiy-storchaka"},"datePublished":"2022-06-03T07:21:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":62},"url":"https://github.com/93453/cpython/issues/93453"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fd3bdc27-157c-e3c7-9bc7-81531d755c55 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CD40:2F5B11:B5AA12:FAC0C1:6969F1C5 |
| html-safe-nonce | b4ed2482557f5f72a29b199e93b29fa2e25f8a991ce598ac33069fb0c10e66ea |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDQwOjJGNUIxMTpCNUFBMTI6RkFDMEMxOjY5NjlGMUM1IiwidmlzaXRvcl9pZCI6IjcxNTMwNjQzNTMwMjI0NzI2NDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0a91a27b0e39d308e15dda91f2843d0d897074dd3f959bc2cb30620b84ba76a5 |
| hovercard-subject-tag | issue:1259542498 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/93453/issue_layout |
| twitter:image | https://opengraph.githubassets.com/71b1db5fccb6d375cf2956379325ce70f84f9fb01413012493a8a2ce2f7ddcc6/python/cpython/issues/93453 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/71b1db5fccb6d375cf2956379325ce70f84f9fb01413012493a8a2ce2f7ddcc6/python/cpython/issues/93453 |
| og:image:alt | Since 3.10 asyncio.get_event_loop() emits a deprecation warning if used outside of the event loop (see #83710). It is a time to turn a warning into error and make asyncio.get_event_loop() an alias ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | serhiy-storchaka |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width