[issue12608] crash in PyAST_Compile when running Python code

2011-08-10 Thread Meador Inge
Meador Inge 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 ___ Python t

[issue12608] crash in PyAST_Compile when running Python code

2011-08-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/8/10 Meador Inge : > > Meador Inge 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

[issue12608] crash in PyAST_Compile when running Python code

2011-08-10 Thread Meador Inge
Meador Inge 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 compiled = compile(exp

[issue12608] crash in PyAST_Compile when running Python code

2011-08-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: Officially fixed by #12575. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue12608] crash in PyAST_Compile when running Python code

2011-08-06 Thread Meador Inge
Meador Inge 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. Reproduced and fixed on

[issue12608] crash in PyAST_Compile when running Python code

2011-07-23 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- dependencies: +add a AST validator ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue12608] crash in PyAST_Compile when running Python code

2011-07-22 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12608] crash in PyAST_Compile when running Python code

2011-07-22 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue12608] crash in PyAST_Compile when running Python code

2011-07-22 Thread R. David Murray
R. David Murray added the comment: So does default. -- nosy: +benjamin.peterson, r.david.murray type: -> crash versions: +Python 2.7, Python 3.3 ___ Python tracker ___

[issue12608] crash in PyAST_Compile when running Python code

2011-07-22 Thread Albert Zeyer
Albert Zeyer added the comment: PyPy bug report: https://bugs.pypy.org/issue806 -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue12608] crash in PyAST_Compile when running Python code

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