[issue12608] crash in PyAST_Compile when running Python code

2011-08-10 Thread Meador Inge
Meador Inge mead...@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@motherbrain cpython]$ ./python test.py Traceback (most recent call last): File test.py, line 14, in module

[issue12608] crash in PyAST_Compile when running Python code

2011-08-10 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2011/8/10 Meador Inge rep...@bugs.python.org: Meador Inge mead...@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:

[issue12608] crash in PyAST_Compile when running Python code

2011-08-10 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: OK, I am marking this as fixed then. If someone decides to fix this in 3.2 or 3.7, then they can reopen the issue. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed

[issue12608] crash in PyAST_Compile when running Python code

2011-08-09 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Officially fixed by #12575. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12608 ___

[issue12608] crash in PyAST_Compile when running Python code

2011-08-06 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Thanks for the test case Albert. The attached patch adds a unit test based off of the given repro case and fixes the bug in the FunctionDef compiler. The compiler was hitting a NULL pointer deref on FunctionDefs with empty list bodies.

[issue12608] crash in PyAST_Compile when running Python code

2011-07-23 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- dependencies: +add a AST validator ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12608 ___

[issue12608] crash in PyAST_Compile when running Python code

2011-07-22 Thread Albert Zeyer
New submission from Albert Zeyer alb...@googlemail.com: Code: ``` import ast globalsDict = {} fAst = ast.FunctionDef( name=foo, args=ast.arguments( args=[], vararg=None, kwarg=None, defaults=[], kwonlyargs=[], kw_defaults=[]), body=[],

[issue12608] crash in PyAST_Compile when running Python code

2011-07-22 Thread Albert Zeyer
Albert Zeyer alb...@googlemail.com added the comment: PyPy bug report: https://bugs.pypy.org/issue806 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12608 ___

[issue12608] crash in PyAST_Compile when running Python code

2011-07-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: So does default. -- nosy: +benjamin.peterson, r.david.murray type: - crash versions: +Python 2.7, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12608

[issue12608] crash in PyAST_Compile when running Python code

2011-07-22 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12608 ___ ___ Python-bugs-list

[issue12608] crash in PyAST_Compile when running Python code

2011-07-22 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12608 ___ ___