GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — gh-155502: Warn about keeping a reference to tasks from loop.create_task by Khan3K · Pull Request #155599 · python/cpython Conversation
The high-level :func: This mirrors the warning (including the "fire-and-forget" collection pattern and the :class: Linked PRs
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Khan3K
requested review from
1st1,
asvetlov,
kumaraditya303 and
willingc
as code owners
|
There was an error while loading. Please reload this page.
Documentation build overview
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You must sign the CLA before we can review. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…eate_task The low-level Event Loop documentation for create_task() did not repeat the warning from the high-level asyncio.create_task() docs that the event loop only keeps weak references to tasks, so a task that is not referenced elsewhere may be garbage collected before it completes. Mirror the note (including the fire-and-forget collection pattern) in the loop.create_task() documentation.
eb70da4 to
49b236e
Compare
|
This PR is stale because it has been open for 90 days with no activity. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.