Re: [Python-Dev] Guarantee ordered dict literals in v3.7?

2017年12月15日 08:35:40 -0800

> On Dec 15, 2017, at 7:53 AM, Guido van Rossum <[email protected]> wrote:
> 
> Make it so. "Dict keeps insertion order" is the ruling. Thanks!
Thank you. That is wonderful news :-)
Would it be reasonable to replace some of the OrderedDict() uses in the 
standard library with dict()? For example, have namedtuples's _asdict() go 
back to returning a plain dict as it did in its original incarnation. Also, it 
looks like argparse could save an import by using a regular dict.
Raymond
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to