-
-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dont-use-f_locals-for-agen-finalization' of github.com:…
…graingert/trio into avoid-refcycles-in-run-exc
- Loading branch information
Showing
3 changed files
with
69 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Rework foreign async generator finalization to track async generator | ||
ids rather than mutating ``ag_frame.f_locals``. This fixes an issue | ||
with the previous implementation: locals' lifetimes will no longer be | ||
extended by materialization in the ``ag_frame.f_locals`` dictionary that | ||
the previous finalization dispatcher logic needed to access to do its work. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters