-
-
Couldn't load subscription status.
- Fork 33.2k
gh-93691: fix too broad source locations of with-statement instructions #120125
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
|
Thanks @iritkatriel for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Thanks @iritkatriel for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
…ructions (pythonGH-120125) (cherry picked from commit eca3f77) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
|
GH-123604 is a backport of this pull request to the 3.13 branch. |
…ructions (pythonGH-120125) (cherry picked from commit eca3f77) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
|
GH-123605 is a backport of this pull request to the 3.12 branch. |
Previously an exception from the
__init__,__enter__and__exit__would give the whole with-statement, with the body, as the location. Now it pinpoints which context manager failed.