[Python-ideas] Empty set, Empty dict
Barry Warsaw
barry at python.org
Sun Jun 22 22:52:32 CEST 2014
On Jun 22, 2014, at 11:04 PM, Nick Coghlan wrote:
>With a blank slate, the obvious choice is {} for the empty set and {:} for
>the empty dict, but Python doesn't have that option due to builtin sets
>arriving *long* after builtin dicts
Although, I think future-import could help the transition here, if we decided
it was a good idea. Not that I'm necessarily advocating for it; set() is good
enough for me.
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140622/0bd057d1/attachment.sig>
More information about the Python-ideas
mailing list