Why are tuples immutable?
Nick Coghlan
ncoghlan at iinet.net.au
Sat Dec 18 02:06:35 EST 2004
Nick Coghlan wrote:
> Although, it looks like new-style classes currently don't apply this
> rule - you get the default hash implementation from object no matter what:
>
> That may be a bug rather than a feature :)
And indeed it is:
http://sourceforge.net/tracker/index.php?func=detail&aid=660098&group_id=5470&atid=105470
http://mail.python.org/pipermail/python-dev/2003-December/041375.html
A discussion I was actually involved in, and had forgotten about. . .
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at email.com | Brisbane, Australia
---------------------------------------------------------------
http://boredomandlaziness.skystorm.net
More information about the Python-list
mailing list