[Python-3000] Set literals - another try
collinw at gmail.com
Tue Aug 8 21:50:20 CEST 2006
On 8/8/06, Josiah Carlson <jcarlson at uci.edu> wrote:
> I personally don't see much of a use for set literals, considering that
> there is a non-ambiguous spelling of it currently; set(...), whose only
> cost above and beyond that of a set literal is a global name lookup.
I thought one of the main arguments in favor of set literals is that a
literal form would allow the compiler to perform optimisations that
the set(...) spelling doesn't allow.
More information about the Python-3000