[issue12608] crash in PyAST_Compile when running Python code

Meador Inge report at bugs.python.org
Wed Aug 10 17:23:10 CEST 2011


Meador Inge <meadori at gmail.com> added the comment:

I have verified that the code checked in for issue12575 keep the test case from this issue from crashing the interpreter:

[meadori at motherbrain cpython]$ ./python test.py 
Traceback (most recent call last):
  File "test.py", line 14, in <module>
    compiled = compile(exprAst, "<foo>", "single")
ValueError: empty body on FunctionDef

Do we have any intent on fixing this crasher for 3.2 and 2.7?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12608>
_______________________________________


More information about the Python-bugs-list mailing list