[NumPy-Tickets] [NumPy] #640: Index assignment into pre-allocated array does silent type cast, causing user confusion (or worse)

NumPy Trac numpy-tickets@scipy....
Tue May 25 00:22:09 CDT 2010


#640: Index assignment into pre-allocated array does silent type cast, causing
user confusion (or worse)
-------------------------+--------------------------------------------------
  Reporter:  brorson     |       Owner:  somebody   
      Type:  defect      |      Status:  closed     
  Priority:  normal      |   Milestone:  Unscheduled
 Component:  numpy.core  |     Version:  none       
Resolution:  fixed       |    Keywords:             
-------------------------+--------------------------------------------------
Changes (by charris):

  * status:  needs_decision => closed
  * resolution:  => fixed


Comment:

 The complex case has been fixed to raise a warning. The question of
 whether a warning should also be raised in assigning real to integer is
 still open. But I am going to close this ticket as the initial problem has
 been addressed.

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


More information about the NumPy-Tickets mailing list