Title: Test test_asyncio prints quite a few ResourceWarnings for "unclosed event loop" · Issue #99357 · python/cpython · GitHub
Open Graph Title: Test test_asyncio prints quite a few ResourceWarnings for "unclosed event loop" · Issue #99357 · python/cpython
X Title: Test test_asyncio prints quite a few ResourceWarnings for "unclosed event loop" · Issue #99357 · python/cpython
Description: It's possible that this only happens when using --with-pydebug. (And perhaps only on Mac?) I get 8 of these: /Users/guido/cpython/Lib/asyncio/base_events.py:703: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False ...
Open Graph Description: It's possible that this only happens when using --with-pydebug. (And perhaps only on Mac?) I get 8 of these: /Users/guido/cpython/Lib/asyncio/base_events.py:703: ResourceWarning: unclosed event loo...
X Description: It's possible that this only happens when using --with-pydebug. (And perhaps only on Mac?) I get 8 of these: /Users/guido/cpython/Lib/asyncio/base_events.py:703: ResourceWarning: unclosed event...
Opengraph URL: https://github.com/python/cpython/issues/99357
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Test test_asyncio prints quite a few ResourceWarnings for \"unclosed event loop\"","articleBody":"It's possible that this only happens when using `--with-pydebug`. (And perhaps only on Mac?)\r\n\r\nI get 8 of these:\r\n```\r\n/Users/guido/cpython/Lib/asyncio/base_events.py:703: ResourceWarning: unclosed event loop \u003c_UnixSelectorEventLoop running=False closed=False debug=False\u003e\r\n _warn(f\"unclosed event loop {self!r}\", ResourceWarning, source=self)\r\nResourceWarning: Enable tracemalloc to get the object allocation traceback\r\n```\r\n\r\nThere's also this, once:\r\n```\r\n/Users/guido/cpython/Lib/test/test_asyncio/test_unix_events.py:1750: DeprecationWarning: 'get_child_watcher' is deprecated as of Python 3.12 and will be removed in Python 3.14.\r\n watcher = policy.get_child_watcher()\r\n```\n\n\u003c!-- gh-pr-number: gh-99414 --\u003e\n* PR: gh-99414\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-99424 --\u003e\n* PR: gh-99424\n\u003c!-- /gh-pr-number --\u003e\n","author":{"url":"https://github.com/gvanrossum","@type":"Person","name":"gvanrossum"},"datePublished":"2022-11-10T23:40:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/99357/cpython/issues/99357"}
| 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:fb9da3ef-477f-8297-bbe6-cb4a997102ef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D1AE:10F1EB:84D66A:BAA7F4:696A2180 |
| html-safe-nonce | 6b5a0b3ac2f750987e988b12f219921d363d4112e7af6ef5910df471b5987764 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUFFOjEwRjFFQjo4NEQ2NkE6QkFBN0Y0OjY5NkEyMTgwIiwidmlzaXRvcl9pZCI6IjY2NjE5MDgxNDUyMDgxNzI5MjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d445554e36d2619cdd806a9b4b9a4bca555ef172b335e26be3c097dbd55e780c |
| hovercard-subject-tag | issue:1444712145 |
| 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/99357/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cd3798fd7140758f081360b77cf5052838a3eae569c1a048208726fb575be2f9/python/cpython/issues/99357 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cd3798fd7140758f081360b77cf5052838a3eae569c1a048208726fb575be2f9/python/cpython/issues/99357 |
| og:image:alt | It's possible that this only happens when using --with-pydebug. (And perhaps only on Mac?) I get 8 of these: /Users/guido/cpython/Lib/asyncio/base_events.py:703: ResourceWarning: unclosed event loo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gvanrossum |
| hostname | github.com |
| expected-hostname | github.com |
| None | 014f3d193f36b7d393f88ca22d06fbacd370800b40a547c1ea67291e02dc8ea3 |
| 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 | d515f6f09fa57a93bf90355cb894eb84ca4f458f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width