Mutable objects which define __hash__ (was Re: Why are tuples immutable?)
Nick Coghlan
ncoghlan at iinet.net.au
Thu Dec 23 07:04:27 EST 2004
Antoon Pardon wrote:
> I don't understand why the ease of mutating an object that should remain
> stable should cause more unease in a person just because the subject
> is dictionary keys, except maybe because of custom.
>
> But I'm obviously in the minority here.
Nah - just fighting against long-held assumptions. Those don't get changed
overnight - it takes at least a couple of days :)
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at email.com | Brisbane, Australia
---------------------------------------------------------------
http://boredomandlaziness.skystorm.net
More information about the Python-list
mailing list