On Tue, 2006-05-02 at 12:05 -0700, Raymond Hettinger wrote:
> I think Guido had the best solution. Use set() for empty sets, use {}
> for empty dicts, use {genexp} for set comprehensions/displays, use
> {1,2,3} for explicit set literals, and use {k1:v1, k2:v2} for dict
> literals. We can always add {/} later if demand exceeds distaste.+1 > Also, FWIW, I think the current dict constructor is fine as-is. No > doubt that its API is fully-loaded, but it is very useful and not hard > to learn. Practicality wins here. +1 -Barry
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
