Ian Bicking wrote: > Though if "Set([(1, None), (2, None)]) == > {1: None, 2: None}" is true, that's actually perfectly fine to me.
That would be rather too loose for my tastes. A mapping can be *represented* as a set of tuples, but that's not the same thing as it *being* a set of tuples. > Generally speaking I've remained suspicious of adaptation. I think to most people it seems like a solution looking for a problem. In all the code I've ever written, plain duck typing has been perfectly adequate. I'm willing to concede that it might have use in some specialised areas such as Zope, but there doesn't seem to be any general demand for it. -- Greg _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com