| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Documentation build overview1 file changed ± library/contextvars.html |
Sorry, something went wrong.
|
The issue has no clear consensus on what to do (remove warning or change it). Let maintainers decide hwo to proceed later. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Explain why creating context variables in closures can extend their lifetimes: a reachable Context holds strong references to variables with values set in it. Repeated creation and binding in a long-lived context can accumulate variables.
Keep the recommendation to create variables at module level while describing the actual retention condition instead of saying they cannot be properly garbage collected.
Fixes #131837.
Validation: