From: Alexander S. <a.s...@gm...> - 2002-06-26 13:29:46
|
Bernard Frankpitt <fra...@er...> writes: > My preference would be > > Copy semantics for a=b > View semantics for a=b.view (or some other explicit syntax) 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 -- and this is really a good design decision; just compare it to other languages that do different things depending on what you are assigning). alex -- Alexander Schmolck Postgraduate Research Student Department of Computer Science University of Exeter A.S...@gm... http://www.dcs.ex.ac.uk/people/aschmolc/ |