In article <[EMAIL PROTECTED]>, Peter Maas <[EMAIL PROTECTED]> wrote:
> Antoon Pardon schrieb: > > Dictionary lookup with mutable types like lists is a source of > > unpleasant surprises for the programmer and therefore impossible in > > Python. > > > > > > It is not impossible in Python. Is too. > > It may be discouraged but it is not > > impossible since I have already done so. > > Wouldn't this raise a TypeError? Or did you wrap them with an object? He created a list subclass that redefines __hash__, so he cheated :). Just -- http://mail.python.org/mailman/listinfo/python-list