+1
−0
Loading
When creating arrays where the element type is not trivial (for instance strings), it is necessary to pass the element itemsize (elsize) to numpy. Without it numpy has no way of knowing the full size in memory of the array, and in fact it segfaults.