[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>

More information about the pypy-issue mailing list