[Python-3000] sets in P3K?

Guido van Rossum guido at python.org
Tue May 2 19:42:35 CEST 2006


On 5/2/06, Terry Reedy <tjreedy at udel.edu> wrote:
>
> "Nick Coghlan" <ncoghlan at gmail.com> wrote in message
> news:44572190.30007 at gmail.com...
> > If you went for a syntactic notation for the empty set, I'd want to use
> > {} and
> > make the empty dict {:}, by that idea didn't even make your list of
> > alternatives :)
>
> Those are my favorites also.  The 2.x -> 3.0 edit of {} to {:} is trivial
> for an auto-correct function.

That doesn't fix everybody's brain though. Given that sets are much
less universally useful than dicts I don't think that dict should
"give in".

--
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list