[pypy-svn] r64780 - pypy/branch/pyjitpl5/pypy/jit/metainterp

arigo at codespeak.net arigo at codespeak.net
Tue Apr 28 16:23:05 CEST 2009


Author: arigo
Date: Tue Apr 28 16:23:05 2009
New Revision: 64780

Modified:
   pypy/branch/pyjitpl5/pypy/jit/metainterp/pyjitpl.py
Log:
Debug_print with colors...


Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/pyjitpl.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/pyjitpl.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/pyjitpl.py	Tue Apr 28 16:23:05 2009
@@ -111,7 +111,7 @@
             val = func(*args)
             if DEBUG >= 2:
                 reprboxes = ' '.join([box.repr_rpython() for box in self.env])
-                debug_print('  env=[%s]' % (reprboxes,))
+                debug_print('  \x1b[34menv=[%s]\x1b[0m' % (reprboxes,))
             if val is None:
                 val = False
             return val



More information about the Pypy-commit mailing list