Author: Philip Jenvey <pjen...@underboss.org> Branch: py3k-osxfix Changeset: r84633:e507f3b2880a Date: 2016-05-23 11:43 -0700 http://bitbucket.org/pypy/pypy/changeset/e507f3b2880a/
Log: debug buildbot's failures diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py --- a/pypy/goal/targetpypystandalone.py +++ b/pypy/goal/targetpypystandalone.py @@ -350,7 +350,15 @@ filename = os.path.join(pypydir, 'interpreter', 'app_main.py') app = gateway.applevel(open(filename).read(), 'app_main.py', 'app_main') app.hidden_applevel = False - w_dict = app.getwdict(space) + try: + w_dict = app.getwdict(space) + except OperationError as e: + # XXX: + debug("OperationError:") + debug(" operror-type: " + e.w_type.getname(space).encode('utf-8')) + debug(" operror-value: " + space.str_w(space.str(e.get_w_value(space)))) + e.print_detailed_traceback(space) + raise entry_point, _ = create_entry_point(space, w_dict) return entry_point, None, PyPyAnnotatorPolicy() _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit