Author: mattip <[email protected]>
Branch: ufuncapi
Changeset: r74761:ad40184861fe
Date: 2014-11-29 23:00 +0200
http://bitbucket.org/pypy/pypy/changeset/ad40184861fe/
Log: assert yet again that args_w contains W_NDimArray items for
translation
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
@@ -1322,6 +1322,7 @@
else:
for i in range(len(args_w)):
arg_i = args_w[i]
+ assert isinstance(arg_i, W_NDimArray)
raw_storage_setitem(dataps, CCHARP_SIZE * i,
rffi.cast(rffi.CCHARP,
arg_i.implementation.get_storage_as_int(space)))
try:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit