Author: Ronan Lamy <[email protected]>
Branch: fix-result-types
Changeset: r77472:ef9e5df0e5f3
Date: 2015-05-22 04:02 +0100
http://bitbucket.org/pypy/pypy/changeset/ef9e5df0e5f3/
Log: improve compatibility of error messages
diff --git a/pypy/module/micronumpy/ufuncs.py b/pypy/module/micronumpy/ufuncs.py
--- a/pypy/module/micronumpy/ufuncs.py
+++ b/pypy/module/micronumpy/ufuncs.py
@@ -510,8 +510,7 @@
else:
raise oefmt(space.w_TypeError,
- "No loop matching the specified signature was found "
- "for ufunc %s", self.name)
+ "ufunc '%s' not supported for the input types", self.name)
def allowed_types(self, space):
dtypes = []
@@ -716,8 +715,7 @@
else:
raise oefmt(space.w_TypeError,
- "No loop matching the specified signature was found "
- "for ufunc %s", self.name)
+ "ufunc '%s' not supported for the input types", self.name)
def allowed_types(self, space):
dtypes = []
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit