Title: asyncio doesn't warn if a task is destroyed during its execution · Issue #65362 · python/cpython · GitHub
Open Graph Title: asyncio doesn't warn if a task is destroyed during its execution · Issue #65362 · python/cpython
X Title: asyncio doesn't warn if a task is destroyed during its execution · Issue #65362 · python/cpython
Description: BPO 21163 Nosy @gvanrossum, @pitrou, @vstinner, @giampaolo, @1st1, @gvanrossum, @mpaolini Files asyncio-gc-issue.pylog_destroyed_pending_task.patchdont_log_pending.patchtest2.py: script showing gc collecting unreferenced asyncio tasksiss...
Open Graph Description: BPO 21163 Nosy @gvanrossum, @pitrou, @vstinner, @giampaolo, @1st1, @gvanrossum, @mpaolini Files asyncio-gc-issue.pylog_destroyed_pending_task.patchdont_log_pending.patchtest2.py: script showing gc ...
X Description: BPO 21163 Nosy @gvanrossum, @pitrou, @vstinner, @giampaolo, @1st1, @gvanrossum, @mpaolini Files asyncio-gc-issue.pylog_destroyed_pending_task.patchdont_log_pending.patchtest2.py: script showing gc ...
Opengraph URL: https://github.com/python/cpython/issues/65362
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"asyncio doesn't warn if a task is destroyed during its execution","articleBody":"BPO | [21163](https://bugs.python.org/issue21163)\n--- | :---\nNosy | @gvanrossum, @pitrou, @vstinner, @giampaolo, @1st1, @gvanrossum, @mpaolini\nFiles | \u003cli\u003e[asyncio-gc-issue.py](https://bugs.python.org/file34741/asyncio-gc-issue.py \"Uploaded as text/plain at 2014-04-05.21:10:31 by richard.kiss\")\u003c/li\u003e\u003cli\u003e[log_destroyed_pending_task.patch](https://bugs.python.org/file35691/log_destroyed_pending_task.patch \"Uploaded as text/plain at 2014-06-19.14:48:37 by @vstinner\")\u003c/li\u003e\u003cli\u003e[dont_log_pending.patch](https://bugs.python.org/file35781/dont_log_pending.patch \"Uploaded as text/plain at 2014-06-25.22:27:10 by @vstinner\")\u003c/li\u003e\u003cli\u003e[test2.py](https://bugs.python.org/file36405/test2.py \"Uploaded as text/plain at 2014-08-18.14:20:57 by @mpaolini\"): script showing gc collecting unreferenced asyncio tasks\u003c/li\u003e\u003cli\u003e[issue_22163_patch_0.diff](https://bugs.python.org/file36408/issue_22163_patch_0.diff \"Uploaded as text/plain at 2014-08-18.19:36:35 by @mpaolini\"): hold references to all waited futures in task\u003c/li\u003e\u003cli\u003e[test3.py](https://bugs.python.org/file36413/test3.py \"Uploaded as text/plain at 2014-08-19.09:32:09 by @mpaolini\"): script showing real-life-like example gc collecting unreferenced asyncio tasks\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2014-07-16.16:57:08.632\u003e\ncreated_at = \u003cDate 2014-04-05.21:10:31.905\u003e\nlabels = ['type-bug', 'library', 'expert-asyncio']\ntitle = \"asyncio doesn't warn if a task is destroyed during its execution\"\nupdated_at = \u003cDate 2014-09-20.21:15:28.592\u003e\nuser = 'https://bugs.python.org/richardkiss'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2014-09-20.21:15:28.592\u003e\nactor = 'gvanrossum'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2014-07-16.16:57:08.632\u003e\ncloser = 'vstinner'\ncomponents = ['Library (Lib)', 'asyncio']\ncreation = \u003cDate 2014-04-05.21:10:31.905\u003e\ncreator = 'richard.kiss'\ndependencies = []\nfiles = ['34741', '35691', '35781', '36405', '36408', '36413']\nhgrepos = []\nissue_num = 21163\nkeywords = ['patch']\nmessage_count = 37.0\nmessages = ['215633', '215638', '215639', '215640', '215642', '215646', '215647', '220986', '221010', '221096', '221375', '221387', '221470', '221495', '221503', '221508', '221573', '221574', '221578', '221580', '221956', '221957', '222699', '223230', '223232', '223233', '225493', '225497', '225498', '225499', '225500', '225504', '225520', '225522', '227173', '227176', '227177']\nnosy_count = 10.0\nnosy_names = ['gvanrossum', 'pitrou', 'vstinner', 'giampaolo.rodola', 'python-dev', 'yselivanov', 'Guido.van.Rossum', 'richard.kiss', 'Richard.Kiss', 'mpaolini']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue21163'\nversions = ['Python 3.4', 'Python 3.5']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/RichardKiss","@type":"Person","name":"RichardKiss"},"datePublished":"2014-04-05T21:10:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":37},"url":"https://github.com/65362/cpython/issues/65362"}
| 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:430226e2-5497-48f2-2893-777330b0a5c6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B9E0:D3B89:104B5F5:16AF775:6A4E96CC |
| html-safe-nonce | b9d7fb6dada86dc7bc105f963ee1505156e98454e6b28e8e7bfe8a30f98392fb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUUwOkQzQjg5OjEwNEI1RjU6MTZBRjc3NTo2QTRFOTZDQyIsInZpc2l0b3JfaWQiOiI1OTc0MTAzMjgyMDUzNzE1NjYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ed21796727b4b5198e7e56100d4e0ff7d0ef4dfc738a6dd4369acab116d0ca19 |
| hovercard-subject-tag | issue:1198918698 |
| 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/65362/issue_layout |
| twitter:image | https://opengraph.githubassets.com/94407815e5107d15164f3be2697555445ff8b170b595f816c0a2d3d164504f79/python/cpython/issues/65362 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/94407815e5107d15164f3be2697555445ff8b170b595f816c0a2d3d164504f79/python/cpython/issues/65362 |
| og:image:alt | BPO 21163 Nosy @gvanrossum, @pitrou, @vstinner, @giampaolo, @1st1, @gvanrossum, @mpaolini Files asyncio-gc-issue.pylog_destroyed_pending_task.patchdont_log_pending.patchtest2.py: script showing gc ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | RichardKiss |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width