-
-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3112 from graingert/dont-use-f_locals-for-agen-fi…
…nalization
- Loading branch information
Showing
3 changed files
with
94 additions
and
21 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