Closed
Description
Trying to create an array with a weird structured but empty dtype results in a SystemError
:
In [214]: array([(), (), (), (), ()], dtype={'names':[], 'formats':[], 'offsets':[], 'itemsize':12})
---------------------------------------------------------------------------
SystemError Traceback (most recent call last)
<ipython-input-214-1b509554769d> in <module>()
----> 1 array([(), (), (), (), ()], dtype={'names':[], 'formats':[], 'offsets':[], 'itemsize':12})
SystemError: error return without exception set
This should be caught somewhere and a suitable exception should be raised instead of SystemError
.
Metadata
Metadata
Assignees
Labels
No labels