[pypy-svn] rev 796 - pypy/trunk/src/pypy/interpreter
mwh at codespeak.net
mwh at codespeak.net
Fri Jun 13 14:27:18 CEST 2003
Author: mwh
Date: Fri Jun 13 14:27:18 2003
New Revision: 796
Modified:
pypy/trunk/src/pypy/interpreter/executioncontext.py
Log:
fix for printing exceptions
Modified: pypy/trunk/src/pypy/interpreter/executioncontext.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/executioncontext.py (original)
+++ pypy/trunk/src/pypy/interpreter/executioncontext.py Fri Jun 13 14:27:18 2003
@@ -138,7 +138,8 @@
exc_value = self.w_value
else:
w = space.wrap
- exc_typename = space.getattr(self.w_type, w('__name__'))
+ exc_typename = space.unwrap(
+ space.getattr(self.w_type, w('__name__')))
exc_value = space.unwrap(space.str(self.w_value))
print >> file, '(application-level)',
if exc_value is None:
More information about the Pypy-commit
mailing list