[Python-Dev] Retrieve an arbitrary element from a set without removing it

Guido van Rossum guido at python.org
Sat Oct 24 19:55:20 CEST 2009

On Sat, Oct 24, 2009 at 10:34 AM, Alexander Belopolsky
<alexander.belopolsky at gmail.com> wrote:
> To me, however, a set seems to be a container that is a specialization
> of a dict with values and keys being the same.

That's absurd; the mapping provides nothing useful.

--Guido van Rossum

PS. My elbow needs a couple more weeks of rest. Limiting myself to
ultra-short emails.

More information about the Python-Dev mailing list