[NumPy-Tickets] [NumPy] #333: Improve error message when making a structured array from an invalid input (was: Creating an array from a n-dim dtype type fails)
NumPy Trac
numpy-tickets@scipy....
Tue Mar 22 19:55:48 CDT 2011
#333: Improve error message when making a structured array from an invalid input
-------------------------+--------------------------------------------------
Reporter: faltet | Owner: somebody
Type: enhancement | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version: devel
Keywords: |
-------------------------+--------------------------------------------------
Comment(by mwiebe):
I don't think the input can be interpreted as the requested dtype in the
failing cases, broadcasting during array construction to resolve it also
seems like a bad idea to me. The error message is pretty bad, I don't even
know what a "readable buffer object" is.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/333#comment:6>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list