[pypy-svn] r74428 - pypy/trunk/pypy/module/cpyext

afa at codespeak.net afa at codespeak.net
Thu May 6 21:41:45 CEST 2010


Author: afa
Date: Thu May  6 21:41:41 2010
New Revision: 74428

Modified:
   pypy/trunk/pypy/module/cpyext/api.py
Log:
This exception is not supposed to happen anymore


Modified: pypy/trunk/pypy/module/cpyext/api.py
==============================================================================
--- pypy/trunk/pypy/module/cpyext/api.py	(original)
+++ pypy/trunk/pypy/module/cpyext/api.py	Thu May  6 21:41:41 2010
@@ -458,8 +458,6 @@
                     retval = result
             elif callable.api_func.restype is not lltype.Void:
                 retval = rffi.cast(callable.api_func.restype, result)
-        except NullPointerException:
-            print "Container not registered by %s" % callable.__name__
         except Exception, e:
             if not we_are_translated():
                 import traceback



More information about the Pypy-commit mailing list