Author: Philip Jenvey <pjen...@underboss.org> Branch: py3.3 Changeset: r73078:1d260c164b38 Date: 2014-08-26 16:41 -0700 http://bitbucket.org/pypy/pypy/changeset/1d260c164b38/
Log: fix per new ast.py diff --git a/pypy/interpreter/astcompiler/validate.py b/pypy/interpreter/astcompiler/validate.py --- a/pypy/interpreter/astcompiler/validate.py +++ b/pypy/interpreter/astcompiler/validate.py @@ -21,7 +21,7 @@ def expr_context_name(ctx): if not 1 <= ctx <= len(ast.expr_context_to_class): return '??' - return ast.expr_context_to_class[ctx - 1].typedef.name + return ast.expr_context_to_class[ctx - 1].__name__[1:] def _check_context(expected_ctx, actual_ctx): if expected_ctx != actual_ctx: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit