[NumPy-Tickets] [NumPy] #2055: Fix can_cast to deal with struct dtypes

NumPy Trac numpy-tickets@scipy....
Tue Feb 14 22:48:11 CST 2012

#2055: Fix can_cast to deal with struct dtypes
 Reporter:  mwiebe  |       Owner:  somebody   
     Type:  defect  |      Status:  new        
 Priority:  normal  |   Milestone:  Unscheduled
Component:  Other   |     Version:  devel      
 Keywords:          |  
 Matthew Brett noticed that can_cast has some weird behaviors when calling
 it with struct dtypes. The email thread starts here:


 He had a suggestion for beginning to approach the problem:

 How about, at a first pass, returning True for conversion of void
 types only if input dtype == output dtype, then adding more
 sophisticated rules later?

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

More information about the NumPy-Tickets mailing list