[pypy-issue] [issue1026] numpypy: incorrect shape of array with zero-shape coords

mikefc tracker at bugs.pypy.org
Mon Jan 30 07:56:38 CET 2012


mikefc <coolbutuseless at gmail.com> added the comment:

This seems to have been fixed in latest nightly.

============ python
>>> import numpy as np
>>> np.array(np.ones((0,3,4))).shape
(0, 3, 4)


============ pypy (latest nightly)
>>>> import numpypy as np
>>>> np.ones((0,3,4)).shape
(0, 3, 4)

----------
nosy: +mikefc
status: unread -> resolved

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1026>
________________________________________


More information about the pypy-issue mailing list