[NumPy-Tickets] [NumPy] #1431: accessing multiple fields in a recarray gives fields in wrong order

NumPy Trac numpy-tickets@scipy....
Sat Jun 19 07:07:28 CDT 2010


#1431: accessing multiple fields in a recarray gives fields in wrong order
------------------------+---------------------------------------------------
 Reporter:  samtygier   |       Owner:  somebody    
     Type:  defect      |      Status:  needs_review
 Priority:  normal      |   Milestone:              
Component:  numpy.core  |     Version:              
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by samtygier):

 could just call warnings.warn() directly. we dont want to deprecate the
 whole function so i don't think deprecate_with_doc() is appropriate. here
 is a patch to warn you if you use you give fields out of order. it would
 only warn you if the behaviour would change by applying the first patch.

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


More information about the NumPy-Tickets mailing list