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:
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
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