Looks like we're converging on consensus about this issue. Perhaps someone can attempt an implementation in the p3yk (sic) branch? I'll add a line to PEP 3100; I don't see that a whole new PEP is necessary to summarize the discussion here.
--Guido On 5/2/06, Barry Warsaw <[EMAIL PROTECTED]> wrote: > 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 > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > > iQCVAwUARFe5iHEjvBPtnXfVAQJuGAQAt3aYlqDY1kMa7oA3ZMQ0+2xeIhqJ47nX > 7hp5HQK9o8qkvRRfaukjiH199QWOZ5WZzeM6UyjmlTRY2LPdDv6yrEMvJ26fK2rm > x66KdFgYGtPPgxYzHyWZoMVHrmNdy2hYn4sYMDn57Wb1rDl4SwSSynBgQkd9P1O3 > butl4fUAEN8= > =OKIh > -----END PGP SIGNATURE----- > > > -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ 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