Message98962
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. |
|
Date |
User |
Action |
Args |
2010-02-06 21:47:12 | ezio.melotti | set | recipients:
+ ezio.melotti, georg.brandl, r.david.murray, michael.foord |
2010-02-06 21:47:12 | ezio.melotti | set | messageid: <1265492832.49.0.733920956096.issue7867@psf.upfronthosting.co.za> |
2010-02-06 21:47:10 | ezio.melotti | link | issue7867 messages |
2010-02-06 21:47:10 | ezio.melotti | create | |
|