Author: Maciej Fijalkowski <[email protected]>
Branch: numpy-back-to-applevel
Changeset: r51794:3c1c293c3fa4
Date: 2012-01-26 14:56 +0200
http://bitbucket.org/pypy/pypy/changeset/3c1c293c3fa4/

Log:    proper error

diff --git a/pypy/module/micronumpy/interp_numarray.py 
b/pypy/module/micronumpy/interp_numarray.py
--- a/pypy/module/micronumpy/interp_numarray.py
+++ b/pypy/module/micronumpy/interp_numarray.py
@@ -619,7 +619,8 @@
         if space.is_w(w_axis, space.w_None):
             concr = concr.descr_ravel(space)
         else:
-            xxx
+            raise OperationError(space.w_NotImplementedError,
+                                 space.wrap("axis unsupported for take"))
         index_i = index.create_iter()
         res_shape = index.shape
         size = 1
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to