[Numpy-discussion] Copy/View data point

Bernard Frankpitt frankpit at erols.com
Wed Jun 26 17:51:03 CDT 2002


Bernard Frankpitt <frankpit at erols.com> writes:

>> My preference would be
>> 
>> Copy semantics for  a=b
>> View semantics for  a=b.view (or some other explicit syntax)
>  
>
And Alexander Schmolck Replies:

> Although I have been arguing for copy semantics for a=b[c:d], what 
> you want is
> not really possible (a=b creates and always will create an alias in > python --

Yes, you are right. In my haste I left out the slice notation

Bernie







More information about the Numpy-discussion mailing list