[NumPy-Tickets] [NumPy] #1494: functions return NotImplemented instead of raising error

NumPy Trac numpy-tickets@scipy....
Thu May 27 12:11:58 CDT 2010


#1494: functions return NotImplemented instead of raising error
-----------------------+----------------------------------------------------
 Reporter:  josefpktd  |       Owner:  somebody
     Type:  defect     |      Status:  new     
 Priority:  normal     |   Milestone:  2.0.0   
Component:  Other      |     Version:          
 Keywords:             |  
-----------------------+----------------------------------------------------
 examples:

 {{{
 >>> np.sqrt('5')
 NotImplemented
 >>> a = np.sqrt('5')
 >>> type(a)
 <type 'NotImplementedType'>



 >>> np.log(np.array(['5']))
 NotImplemented
 >>> np.power(np.array(['5']),5)
 NotImplemented
 >>> np.multiply(np.array(['5']),5)
 NotImplemented
 }}}

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


More information about the NumPy-Tickets mailing list