A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2017-December/151286.html below:

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

[Python-Dev] Guarantee ordered dict literals in v3.7? [Python-Dev] Guarantee ordered dict literals in v3.7?Raymond Hettinger raymond.hettinger at gmail.com
Fri Dec 15 11:32:35 EST 2017
> On Dec 15, 2017, at 7:53 AM, Guido van Rossum <guido at python.org> 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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4