Author: mattip <[email protected]>
Branch: numpy-fixes
Changeset: r77350:862ec4711d44
Date: 2015-05-16 23:17 +0300
http://bitbucket.org/pypy/pypy/changeset/862ec4711d44/

Log:    close merged branch

diff --git a/pypy/module/micronumpy/descriptor.py 
b/pypy/module/micronumpy/descriptor.py
--- a/pypy/module/micronumpy/descriptor.py
+++ b/pypy/module/micronumpy/descriptor.py
@@ -568,6 +568,8 @@
         # testing, handle manually
         if space.eq_w(w_spec, space.wrap('u4,u4,u4')):
             w_lst = space.newlist([space.wrap('u4')]*3)
+        if space.eq_w(w_spec, space.wrap('u4,u4,u4')):
+            w_lst = space.newlist([space.wrap('u4')]*3)
         else:
             raise oefmt(space.w_RuntimeError,
                     "cannot parse w_spec")
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to