[Python-3000] set literals

Fredrik Lundh fredrik at pythonware.com
Thu Jul 13 12:29:17 CEST 2006


Raymond Hettinger wrote:

> I'm curious as to whether people will find one-type-with-two-purposes
> easier to learn that what we have now.

we haven't had that for long, and I cannot recall anyone being puzzled by the
fact that you can use a dictionary of (item, None) pairs to efficiently represent
a set.

</F> 





More information about the Python-3000 mailing list