[pypy-issue] Issue #2552: ast.parse(<ast.Module Instance>, <filename>, <mode>) produces a <code object> instead of an ast.Module itself. (pypy/pypy)

Alexander Loechel issues-reply at bitbucket.org
Wed May 3 13:00:57 EDT 2017


New issue 2552: ast.parse(<ast.Module Instance>, <filename>, <mode>) produces a <code object> instead of an ast.Module itself.
https://bitbucket.org/pypy/pypy/issues/2552/astparse-produces-a-instead-of-an

Alexander Loechel:

During Work on RestrictedPython we found that passing an <ast.Module Instance> to pypy ast.parse creates an unexpacted <code object>, while all CPython implementations return an <ast.Module Instance> as expected.




More information about the pypy-issue mailing list