[issue12608] crash in PyAST_Compile when running Python code

Benjamin Peterson report at bugs.python.org
Wed Aug 10 17:30:07 CEST 2011


Benjamin Peterson <benjamin at python.org> added the comment:

2011/8/10 Meador Inge <report at bugs.python.org>:
>
> 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?

Probably not. Everything is rather broken before 3.3 now.

----------

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


More information about the Python-bugs-list mailing list