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

Guido van Rossum guido@python.org
Sat, 17 Aug 2002 16:12:17 -0400

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

I don't like discarding TypeErrors.  Who know what bug you're hiding

I like Tim's suggestion just fine, and checked it in: let sort_repr
default to True.  Unsortable values aren't that common in Python.

--Guido van Rossum (home page: http://www.python.org/~guido/)