[NumPy-Tickets] [NumPy] #2061: difference between behavior of assignment division and future division not documented

NumPy Trac numpy-tickets@scipy....
Wed Feb 22 17:36:45 CST 2012


#2061: difference between behavior of assignment division and future division not
documented
----------------------------+-----------------------------------------------
  Reporter:  AlanFrankel    |       Owner:  pv                           
      Type:  defect         |      Status:  reopened                     
  Priority:  normal         |   Milestone:  Unscheduled                  
 Component:  Documentation  |     Version:  1.6.1                        
Resolution:                 |    Keywords:  assignment division operators
----------------------------+-----------------------------------------------

Comment(by charris):

 You must have missed one of the ndimage fixes, or else new tests were
 added, since another just went in ;)

 I agree that tighter conversion rules are the way to go. There is a
 tradeoff between convenience and correctness, but in this case I think
 explicit use of '//' makes sense and leads to clearer code and fewer
 inexplicable results.

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


More information about the NumPy-Tickets mailing list