We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This segfaults:
import ast from _testinternalcapi import compiler_codegen a = ast.parse("return 42", "my_file.py", "exec") compiler_codegen(a, "my_file.py", 0)
Expected SyntaxError (return not in function).
The text was updated successfully, but these errors were encountered:
pythongh-115376: fix segfault in _testinternalcapi.compiler_codegen o…
7c83104
…n bad input
gh-115376: fix segfault in _testinternalcapi.compiler_codegen on bad …
3a9e67a
…input (#115379)
dcda2d4
…n bad input (python#115379)
Successfully merging a pull request may close this issue.
This segfaults:
Expected SyntaxError (return not in function).
Linked PRs
The text was updated successfully, but these errors were encountered: