New submission from Antonio Cuni <[email protected]>:
>>>> import numpypy
>>>> x = numpypy.array([1.0, 2.0])
>>>> x.dtype
dtype('float64')
>>>> y = numpypy.array(x, 'd')
Traceback (most recent call last):
File "<console>", line 1, in <module>
NotImplementedError: copying over different dtypes unsupported
>>>> y = numpypy.array(x, numpypy.dtype('d'))
The problem seems to be at line 718 of interp_numarray.py:
w_object.get_dtype() is not w_dtype
----------
messages: 5264
nosy: pypy-issue
priority: bug
status: unread
title: "copying over different dtypes unsupported", but the dtype is the same
________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1389>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue