[NumPy-Tickets] [NumPy] #1085: Surprising results from in-place operations involving views

NumPy Trac numpy-tickets@scipy....
Thu Mar 24 15:09:29 CDT 2011


#1085: Surprising results from in-place operations involving views
--------------------------+-------------------------------------------------
 Reporter:  tillmann      |       Owner:  charris     
     Type:  defect        |      Status:  needs_review
 Priority:  normal        |   Milestone:  2.0.0       
Component:  numpy.core    |     Version:  devel       
 Keywords:  view inplace  |  
--------------------------+-------------------------------------------------
Changes (by mwiebe):

  * version:  1.2.1 => devel


Comment:

 A good approach for this might be to add a flag to the iterator like
 NPY_ITER_COPY_IF_OVERLAP. This would check if any READ or READWRITE
 operands overlap with READWRITE or WRITE operands, and make appropriate
 copies to avoid problems.

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


More information about the NumPy-Tickets mailing list