-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
gh-141489: Simplify closure/freevar iteration in annotationlib._build_closure()
#141490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I don't think this needs a news entry since it's an internal semantics change. Technically the function can now raise an error, but as previously explained, I can't find any way to actually cause that to occur. |
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
62c90df to
93083ce
Compare
|
Unsure as to why |
Wonder if it's a latent failure unrelated to this change. |
See also #141545 |
|
Thanks @dr-carlos for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…._build_closure()` (pythonGH-141490) (cherry picked from commit a35c683da55e77c96828fd0421640787337cfc64) Co-authored-by: dr-carlos <77367421+dr-carlos@users.noreply.github.com>
|
GH-141776 is a backport of this pull request to the 3.14 branch. |
__closure__and__code__.co_freevarsaccess inannotationlib._build_closure#141489