En Thu, 20 Sep 2007 08:46:29 -0300, Steven D'Aprano <[EMAIL PROTECTED]> escribi�:
> Another way is to use this class: > > class HashableList(list): > def __hash__(self): > return hash(tuple(self)) ...and that will stop working as soon as the list is mutated (which is exactly what you said before) -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list