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

NumPy Trac numpy-tickets@scipy....
Mon Jul 4 15:17: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  |  
-------------------------------------+--------------------------------------
 The exception which is currently, (v1.6), raised when two non
 broadcastable arrays are summed is a ValueError exception. I propose to
 create a specific exception class, e.g. BroadcastError, to be more
 specific and give better control in exception catching?

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


More information about the NumPy-Tickets mailing list