[pypy-svn] r26246 - pypy/dist/pypy/translator/cl

sanxiyn at codespeak.net sanxiyn at codespeak.net
Mon Apr 24 11:30:03 CEST 2006


Author: sanxiyn
Date: Mon Apr 24 11:30:00 2006
New Revision: 26246

Modified:
   pypy/dist/pypy/translator/cl/clrepr.py
Log:
Remove obsolete stuffs from clrepr


Modified: pypy/dist/pypy/translator/cl/clrepr.py
==============================================================================
--- pypy/dist/pypy/translator/cl/clrepr.py	(original)
+++ pypy/dist/pypy/translator/cl/clrepr.py	Mon Apr 24 11:30:00 2006
@@ -24,12 +24,6 @@
         val.replace("\"", "\\\"")
         val = '"' + val + '"'
         return val
-    elif isinstance(val, type(Exception)) and issubclass(val, Exception):
-        return "'%s" % val.__name__
-    elif val is last_exception:
-        return "last-exc"
-    elif val is last_exc_value:
-        return "'last-exc-value"
     else:
         return repr_unknown(val)
 



More information about the Pypy-commit mailing list