New issue 1870: 'matrix' doesn't work at all on numpypy right now
https://bitbucket.org/pypy/pypy/issue/1870/matrix-doesnt-work-at-all-on-numpypy-right
glyph:
CPython:
>>> from numpy import matrix
>>> matrix([1])
matrix([[1]])
PyPy:
>>> matrix([1])
Traceback (most recent call last):
File "<input>", line 1, in <module>
File ".../numpy/matrixlib/defmatrix.py", line 282, in __new__
if not (order or arr.flags.contiguous):
AttributeError: 'ndarray' object has no attribute 'flags'
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue