Author: Wim Lavrijsen <[email protected]>
Branch: reflex-support
Changeset: r55868:fc53dc464332
Date: 2012-06-27 14:11 -0700
http://bitbucket.org/pypy/pypy/changeset/fc53dc464332/
Log: add name of type to the error message of missing converter
diff --git a/pypy/module/cppyy/converter.py b/pypy/module/cppyy/converter.py
--- a/pypy/module/cppyy/converter.py
+++ b/pypy/module/cppyy/converter.py
@@ -59,7 +59,7 @@
return fieldptr
def _is_abstract(self, space):
- raise OperationError(space.w_TypeError, space.wrap("no converter
available"))
+ raise OperationError(space.w_TypeError, space.wrap("no converter
available for '%s'" % self.name))
def convert_argument(self, space, w_obj, address, call_local):
self._is_abstract(space)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit