[pypy-issue] [issue793] Segfault in AST compilation if Pass is omitted

Armin Ronacher tracker at bugs.pypy.org
Thu Jul 14 00:51:10 CEST 2011


Armin Ronacher <armin.ronacher at active-4.com> added the comment:

Minimal example:


import ast

body = ast.fix_missing_locations(ast.Module([
    ast.TryExcept([ast.Pass()], [ast.ExceptHandler(
        ast.Name('Exception', ast.Load()), None, [])], [])
]))
exec compile(body, '<string>', 'exec')

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue793>
________________________________________


More information about the pypy-issue mailing list