[Python-Dev] PEP 218 (sets); moving set.py to Lib

Skip Montanaro skip@pobox.com
Sat, 17 Aug 2002 14:16:15 -0500


    Tim> I think you could (and should <wink>) get 95% of the benefit here
    Tim> by changing the sort_repr default to True.  I'm happy to say False
    Tim> when I know I've got unsortable keys.

Why not just get rid of sort_repr, always attempt to sort for printing, and
just discard the TypeError resulting from the attempted sort?

Skip