On Wed, Jun 10, 2020 at 1:15 PM Stephen J. Turnbull <turnbull.stephen...@u.tsukuba.ac.jp> 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 -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/EMT5JC5K6JCME5U6HKOWD3XBTHZEBFSD/ Code of Conduct: http://python.org/psf/codeofconduct/