Mark Dickinson wrote:

Option (2) appeals to me, but I can't see how to
implement it.

It could be implemented for the special case of floats
and Decimals by keeping flags in each set indicating
whether any elements of those types have been added.

But doing this just for those two types would be
rather hackish, and wouldn't do anything for any
other incomparable types that might come along.

--
Greg
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to