Terry Reedy schrieb: | > In any case, this point is that dict ordering is as arbitrary as ordering, | > for instance, a dict and a string. Since Guido stopped the experiment of | > totally ordering all objects when complex nums were added, consistency | > suggests that all fake orderings be eliminated, leaving only the order of | > numbers, characters, and sequences of comparable objects.
I should have added that not having an arbitrary total order allows for useful partial orders. The comparisons on sets appear to be such now (based on inclusion) and RH mentioned doing the same for dicts in 3.0. tjr _______________________________________________ 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