Author: Ronan Lamy <ronan.l...@gmail.com> Branch: issue-2148 Changeset: r79982:8f8f4e669441 Date: 2015-10-04 22:44 +0100 http://bitbucket.org/pypy/pypy/changeset/8f8f4e669441/
Log: fix diff --git a/pypy/module/micronumpy/ctors.py b/pypy/module/micronumpy/ctors.py --- a/pypy/module/micronumpy/ctors.py +++ b/pypy/module/micronumpy/ctors.py @@ -191,6 +191,7 @@ def find_shape_and_elems(space, w_iterable, dtype): if is_scalar_like(space, w_iterable, dtype): return [], [w_iterable] + is_rec_type = dtype is not None and dtype.is_record() return _find_shape_and_elems(space, w_iterable, is_rec_type) def is_scalar_like(space, w_obj, dtype): _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit