[pypy-svn] r68371 - pypy/branch/gc-hash/pypy/rpython
arigo at codespeak.net
arigo at codespeak.net
Tue Oct 13 13:29:00 CEST 2009
Author: arigo
Date: Tue Oct 13 13:28:59 2009
New Revision: 68371
Modified:
pypy/branch/gc-hash/pypy/rpython/llinterp.py
Log:
Control the generation of trace files from llinterp
with a command-line setting: the PYPY_TRACE env var.
Modified: pypy/branch/gc-hash/pypy/rpython/llinterp.py
==============================================================================
--- pypy/branch/gc-hash/pypy/rpython/llinterp.py (original)
+++ pypy/branch/gc-hash/pypy/rpython/llinterp.py Tue Oct 13 13:28:59 2009
@@ -1207,7 +1207,7 @@
class Tracer(object):
Counter = 0
file = None
- TRACE = False
+ TRACE = int(os.getenv('PYPY_TRACE') or '0')
HEADER = """<html><head>
<script language=javascript type='text/javascript'>
More information about the Pypy-commit
mailing list