[NumPy-Tickets] [NumPy] #1893: Broadcasting shape mismatch exception

NumPy Trac numpy-tickets@scipy....
Tue Jul 5 12:10:43 CDT 2011

#1893: Broadcasting shape mismatch exception
 Reporter:  smif1984                 |       Owner:  somebody   
     Type:  defect                   |      Status:  new        
 Priority:  normal                   |   Milestone:  Unscheduled
Component:  numpy.core               |     Version:  1.6.0      
 Keywords:  Broadcasting, exception  |  

Comment(by charris):

 To keep it looking manageable, you could simply start with the ValueError.
 This is pretty universally raised for bad inputs but could be made more

 ShapeError -- when say 1d or 2d required[[BR]]
 BroadcastError -- well, broadcast error[[BR]]

 Likewise there is the common problem of algorithms to converge, maybe


 There are a lot of (numbered) errors raised in the linear algebra routines
 in lapack, so it might be worth classifying those.

 There is another set of errors in the fft and package.

Ticket URL: <http://projects.scipy.org/numpy/ticket/1893#comment:4>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list