[pypy-svn] r26430 - pypy/dist/pypy/interpreter

nik at codespeak.net nik at codespeak.net
Thu Apr 27 11:59:06 CEST 2006


Author: nik
Date: Thu Apr 27 11:59:03 2006
New Revision: 26430

Modified:
   pypy/dist/pypy/interpreter/function.py
Log:
don't raise a string exception in rpython code. this makes translation
work again.


Modified: pypy/dist/pypy/interpreter/function.py
==============================================================================
--- pypy/dist/pypy/interpreter/function.py	(original)
+++ pypy/dist/pypy/interpreter/function.py	Thu Apr 27 11:59:03 2006
@@ -194,7 +194,7 @@
         ]
         return space.newtuple([new_inst, space.newtuple(tup)])
         '''
-        raise 'Function.desc__reduce__ here'
+        raise Exception('Function.desc__reduce__ here')
         
     def fget_func_defaults(space, self):
         values_w = self.defs_w



More information about the Pypy-commit mailing list