[pypy-svn] r42757 - pypy/dist/pypy/translator/oosupport

fijal at codespeak.net fijal at codespeak.net
Sun May 6 21:48:04 CEST 2007


Author: fijal
Date: Sun May  6 21:48:04 2007
New Revision: 42757

Modified:
   pypy/dist/pypy/translator/oosupport/function.py
Log:
Python 2.5


Modified: pypy/dist/pypy/translator/oosupport/function.py
==============================================================================
--- pypy/dist/pypy/translator/oosupport/function.py	(original)
+++ pypy/dist/pypy/translator/oosupport/function.py	Sun May  6 21:48:04 2007
@@ -157,7 +157,7 @@
         for link in block.exits:
             if link.exitcase is None:
                 continue # see above
-            assert issubclass(link.exitcase, Exception)
+            assert issubclass(link.exitcase, BaseException)
             ll_meta_exc = link.llexitcase
             self.record_ll_meta_exc(ll_meta_exc)
             self.begin_catch(link.llexitcase)


More information about the pypy-svn mailing list