[pypy-commit] pypy py3k-osxfix: debug buildbot's failures

pjenvey pypy.commits at gmail.com
Mon May 23 14:44:52 EDT 2016


Author: Philip Jenvey <pjenvey at 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()


More information about the pypy-commit mailing list