[pypy-svn] r73438 - pypy/branch/cpython-extension/pypy/module/cpyext

xoraxax at codespeak.net xoraxax at codespeak.net
Tue Apr 6 03:15:23 CEST 2010


Author: xoraxax
Date: Tue Apr  6 03:15:21 2010
New Revision: 73438

Modified:
   pypy/branch/cpython-extension/pypy/module/cpyext/typeobject.py
Log:
Remove error message. The wrappers contain already an exception raiser if they are not implemented.

Modified: pypy/branch/cpython-extension/pypy/module/cpyext/typeobject.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/typeobject.py	(original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/typeobject.py	Tue Apr  6 03:15:21 2010
@@ -148,7 +148,6 @@
         if not func:
             continue
         if wrapper_func is None and wrapper_func_kwds is None:
-            os.write(2, method_name + " used by the type but no wrapper function defined!\n")
             continue
         dict_w[method_name] = PyDescr_NewWrapper(space, pto, method_name, wrapper_func,
                 wrapper_func_kwds, doc, func_voidp)



More information about the Pypy-commit mailing list