[pypy-svn] rev 1417 - pypy/trunk/src/pypy/interpreter
arigo at codespeak.net
arigo at codespeak.net
Thu Sep 25 13:35:08 CEST 2003
Author: arigo
Date: Thu Sep 25 13:35:08 2003
New Revision: 1417
Modified:
pypy/trunk/src/pypy/interpreter/error.py
Log:
automatically enter pdb upon OperationError when the environment variable
$PYPY_DEBUG is set
Modified: pypy/trunk/src/pypy/interpreter/error.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/error.py (original)
+++ pypy/trunk/src/pypy/interpreter/error.py Thu Sep 25 13:35:08 2003
@@ -1,6 +1,6 @@
-import sys
+import os, sys
-AUTO_DEBUG = 0
+AUTO_DEBUG = os.getenv('PYPY_DEBUG')
class PyPyError(Exception):
More information about the Pypy-commit
mailing list