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
LOAD_GLOBAL super reports wrong source positions #109195
Comments
carljm
added a commit
to carljm/cpython
that referenced
this issue
Sep 11, 2023
carljm
added a commit
that referenced
this issue
Sep 11, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 11, 2023
…_ATTR (pythonGH-109289) (cherry picked from commit ceeb417) Co-authored-by: Carl Meyer <carl@oddbird.net>
Yhg1s
pushed a commit
that referenced
this issue
Sep 12, 2023
vstinner
pushed a commit
to vstinner/cpython
that referenced
this issue
Sep 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Bug description:
LOAD_GLOBAL super includes the paranthesis of
super()
in the source positions.script:
output (Python 3.12.0rc2+):
I bisected this problem down to 0dc8b50
I hope that it is possible to restore the old source positions. I work currently on python 3.12 support for executing, which relies on correct source positions to perform a correct bytecode -> AST mapping.
CPython versions tested on:
3.12
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: