[Python-Dev] Re: PEP 218 (sets); moving set.py to Lib
Guido van Rossum
Mon, 19 Aug 2002 17:27:35 -0400
> Could a method with a similar name be available for dicts as well?
Well, it wouldn't have any advantage over doing this "by hand",
extracting the keys into a list and sorting that. The same reasoning
applies to the sets class, which is why I've made it a non-public
method (named '_repr'). It may go if I find a solution to the one use
there is in the test suite.
--Guido van Rossum (home page: http://www.python.org/~guido/)