Tim Harig <user...@ilthio.net> wrote: >> number 3 never gets printed. Does Python make a copy of a list before >> it iterates through it?: > > No, complex types are passed by reference unless explicity copied.
*All* types are passed by reference unless explicitly copied. Python does make special cases for simple and complex types. -- http://mail.python.org/mailman/listinfo/python-list