This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients ezio.melotti, georg.brandl, michael.foord, r.david.murray
Date 2010-02-06.21:47:10
SpamBayes Score 0.000269007
Marked as misclassified No
Message-id <1265492832.49.0.733920956096.issue7867@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-02-06 21:47:12ezio.melottisetrecipients: + ezio.melotti, georg.brandl, r.david.murray, michael.foord
2010-02-06 21:47:12ezio.melottisetmessageid: <1265492832.49.0.733920956096.issue7867@psf.upfronthosting.co.za>
2010-02-06 21:47:10ezio.melottilinkissue7867 messages
2010-02-06 21:47:10ezio.melotticreate