[Python-3000] Set literal
Steven Bethard
steven.bethard at gmail.com
Fri Jan 25 01:52:18 CET 2008
On Jan 24, 2008 5: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.
Likewise. I just took a look at my own code, and over 95% of the time
when I've written something like ``set([...])``, the set was never
modified. (I found only one instance where it was, out of 47
instances.)
STeVe
--
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
--- Bucky Katt, Get Fuzzy
More information about the Python-3000
mailing list