We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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).