On Jan 24, 2008 5:38 PM, Jeffrey Yasskin <[EMAIL PROTECTED]> wrote: > On Jan 24, 2008 4:13 PM, <[EMAIL PROTECTED]> 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.
I never thought of that, but that is a good point. There is also a greater chance people will look for 'set' at the interpreter, find it, and just not come across frozenset. Luckily the docs mention both side-by-side, so reading the docs makes this explanation a little less plausible. -Brett _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com