Hello! On Thu, 18 Aug 2011 00:35:21 -0700 (PDT) Stan Schymanski <schym...@gmail.com> wrote:
> Dear Robert, > > Thanks a lot for your help, this is exactly what I wanted. I still > don't get why it is necessary to import a special function to perform > such a standard thing. "import copy" has the affect that suddenly I > cannot do copy(L) any more, but I have to do copy.copy(L) instead. > Since copy(L) does not do what I would expect anyway, I will avoid it. > Frankly, as intuitive as Python is in other respects, this behaviour > blows my mind. > Isn't "a list of lists" just a list of _pointers_ to the lists? If so, the regular copy operation would just copy that list of pointers to a new list. Am I right? Regards, Vladimir ----- <v...@ukr.net> -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org