[NumPy-Tickets] [NumPy] #1156: vectorizing an Unbound Method

NumPy Trac numpy-tickets@scipy....
Thu Apr 19 10:02:34 CDT 2012

#1156: vectorizing an Unbound Method
 Reporter:  barronh    |       Owner:  somebody    
     Type:  defect     |      Status:  needs_review
 Priority:  normal     |   Milestone:  Unscheduled 
Component:  numpy.lib  |     Version:              
 Keywords:  vectorize  |  

Comment(by mforbes):

 Actually, this patch fails: `types.UnboundMethodType` is a synonym for
 `types.MethodType`.  It seems that the appropriate test is for `im_self`
 to be `None`: http://docs.python.org/reference/datamodel.html.  I will add
 this to my patch #2100.

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

More information about the NumPy-Tickets mailing list