Ezio Melotti <ezio.melo...@gmail.com> added the comment: The difference is that mutable objects may give the illusion of a pass-by-reference (because changes made inside the function are visible outside) whereas immutable objects give the illusion of pass-by-value (because you can't affect the original object in any way). This is also related to the confusion about assignment and what it really does.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7867> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com