On Wed, Jun 10, 2020 at 1:15 PM Stephen J. Turnbull
<[email protected]> wrote:
>
> Executive summary:
>
> Dicts are unordered, so we can distinguish dict from set by the first
> item (no new notation), and after that default identifiers to (name :
> in-scope value) items.  Also some notational bikeshedding.

Be careful with this assumption. Python's dictionaries DO retain
order, even if you can't easily talk about "the fifth element" [1], so
anything that imposes requirements on the entry listed syntactically
first may have consequences.

ChrisA

[1] which, as we all know, is Boron
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/EMT5JC5K6JCME5U6HKOWD3XBTHZEBFSD/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to