david <db.pub.m...@gmail.com> added the comment:

def list_again(foo):
        foo.append("bar")

def list_again_again(foo):
        foo = foo + ["1"]

if __name__ == "__main__":
        bar = []
        list_again(bar)
        print bar
        list_again_again(bar)
        print bar



Ok so let me without running the above code exactly what it does AND then, stop 
and think about how *most* coders expect it to behave.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9702>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to