[issue31298] Error when calling numpy.astype

2017-10-31 Thread Berker Peksag
Berker Peksag added the comment: Chris is right. Please report this to numpy developers. We can always reopen this issue if they decide that this is an issue in Python. Thank you. By the way, I cannot reproduce the crash with numpy 1.13.3. -- nosy:

[issue31298] Error when calling numpy.astype

2017-09-06 Thread Chris Wilcox
Chris Wilcox added the comment: I may be wrong, but this seems like it could be an issue with NumPy. There are similar issues on their GitHub around crashes on astype. It probably wouldn't hurt to file this over there as well. https://github.com/numpy/numpy/issues -- nosy: +crwilcox

[issue31298] Error when calling numpy.astype

2017-08-28 Thread Daniel
New submission from Daniel: Ubuntu 16.04.3 Python 3.5.2 Numpy version 1.11.0 Running the following two commands causes Python to crash: import numpy as np np.array([[1, 2],[3,4]]).astype(np.dtype([("a", np.float), ("b", np.str_)])) The error occurs when running in an interactive session and