[Python-3000] Set literal

Jeffrey Yasskin jyasskin at gmail.com
Fri Jan 25 02:38:49 CET 2008


On Jan 24, 2008 4:13 PM,  <skip at pobox.com> wrote:
>
>     Guido> Looking over the code base, frozensets are used rarely. So I
>     Guido> don't think this is warranted.
>
> I kind of like the idea.  Raymond's arguments make sense to me.  Most of the
> time if I bother to create a set literal it would be to use it as a
> constant.

Agreed. I suspect that "frozenset" is just too long to type often,
even if people are usually creating sets they don't intend to modify.

-- 
Namasté,
Jeffrey Yasskin


More information about the Python-3000 mailing list