[pypy-commit] pypy default: jittify_and_run: print the repr of the graph eval result, so raw bytes get readable

RonnyPfannschmidt noreply at buildbot.pypy.org
Fri Mar 2 00:09:23 CET 2012


Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
Branch: 
Changeset: r53087:2881f17e1ffc
Date: 2012-03-02 00:07 +0100
http://bitbucket.org/pypy/pypy/changeset/2881f17e1ffc/

Log:	jittify_and_run: print the repr of the graph eval result, so raw
	bytes get readable

diff --git a/pypy/jit/metainterp/warmspot.py b/pypy/jit/metainterp/warmspot.py
--- a/pypy/jit/metainterp/warmspot.py
+++ b/pypy/jit/metainterp/warmspot.py
@@ -100,7 +100,7 @@
     if not kwds.get('translate_support_code', False):
         warmrunnerdesc.metainterp_sd.profiler.finish()
         warmrunnerdesc.metainterp_sd.cpu.finish_once()
-    print '~~~ return value:', res
+    print '~~~ return value:', repr(res)
     while repeat > 1:
         print '~' * 79
         res1 = interp.eval_graph(graph, args)


More information about the pypy-commit mailing list