[pypy-svn] r73091 - pypy/branch/stackovf/pypy/interpreter

arigo at codespeak.net arigo at codespeak.net
Mon Mar 29 18:12:42 CEST 2010


Author: arigo
Date: Mon Mar 29 18:12:37 2010
New Revision: 73091

Modified:
   pypy/branch/stackovf/pypy/interpreter/gateway.py
Log:
Oh, how well tested that code is.


Modified: pypy/branch/stackovf/pypy/interpreter/gateway.py
==============================================================================
--- pypy/branch/stackovf/pypy/interpreter/gateway.py	(original)
+++ pypy/branch/stackovf/pypy/interpreter/gateway.py	Mon Mar 29 18:12:37 2010
@@ -557,12 +557,12 @@
                                                   self.descr_reqcls,
                                                   args)
         except Exception, e:
-            raise self.handle_exception(e)
+            raise self.handle_exception(space, e)
         if w_result is None:
             w_result = space.w_None
         return w_result
 
-    def handle_exception(self, e):
+    def handle_exception(self, space, e):
         try:
             raise e
         except KeyboardInterrupt: 
@@ -590,7 +590,7 @@
                                                   self.descr_reqcls,
                                                   args)
         except Exception, e:
-            raise self.handle_exception(e)
+            raise self.handle_exception(space, e)
         if w_result is None:
             w_result = space.w_None
         return w_result
@@ -609,7 +609,7 @@
                                                   self.descr_reqcls,
                                                   args.prepend(w_obj))
         except Exception, e:
-            raise self.handle_exception(e)
+            raise self.handle_exception(space, e)
         if w_result is None:
             w_result = space.w_None
         return w_result
@@ -625,7 +625,7 @@
             raise OperationError(space.w_SystemError,
                                  space.wrap("unexpected DescrMismatch error"))
         except Exception, e:
-            raise self.handle_exception(e)
+            raise self.handle_exception(space, e)
         if w_result is None:
             w_result = space.w_None
         return w_result
@@ -643,7 +643,7 @@
                                            self.descr_reqcls,
                                            Arguments(space, [w1]))
         except Exception, e:
-            raise self.handle_exception(e)
+            raise self.handle_exception(space, e)
         if w_result is None:
             w_result = space.w_None
         return w_result
@@ -661,7 +661,7 @@
                                            self.descr_reqcls,
                                            Arguments(space, [w1, w2]))
         except Exception, e:
-            raise self.handle_exception(e)
+            raise self.handle_exception(space, e)
         if w_result is None:
             w_result = space.w_None
         return w_result
@@ -679,7 +679,7 @@
                                            self.descr_reqcls,
                                            Arguments(space, [w1, w2, w3]))
         except Exception, e:
-            raise self.handle_exception(e)
+            raise self.handle_exception(space, e)
         if w_result is None:
             w_result = space.w_None
         return w_result
@@ -698,7 +698,7 @@
                                            Arguments(space,
                                                      [w1, w2, w3, w4]))
         except Exception, e:
-            raise self.handle_exception(e)
+            raise self.handle_exception(space, e)
         if w_result is None:
             w_result = space.w_None
         return w_result



More information about the Pypy-commit mailing list