On 07/11/17 04:05, David Mertz wrote:
I strongly opposed adding an ordered guarantee to regular dicts. If the
implementation happens to keep that, great. Maybe OrderedDict can be
rewritten to use the dict implementation. But the evidence that all
implementations will always be fine with this restraint feels poor, and
we have a perfectly good explicit OrderedDict for those who want that.
If there is an ordered guarantee for regular dicts but not for dict
literals, which is the subject of this thread, then haven't we got a
recipe for the kind of confusion that will lead to the number of
questions from newbies going off of the Richter scale?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com