]> granicus.if.org Git - python/commit
bpo-33504: Migrate configparser from OrderedDict to dict. (#6819)
authorJohn Reese <john@noswap.com>
Tue, 5 Jun 2018 23:31:33 +0000 (16:31 -0700)
committerŁukasz Langa <lukasz@langa.pl>
Tue, 5 Jun 2018 23:31:33 +0000 (16:31 -0700)
commit3a5b0d8988491d9408b22bceea6fd70b91345724
treeaa1e6bb4b15091e203305658677251739946ede5
parent5f3d04fa4e9b3c3b0e4807f8516de9365bfed467
bpo-33504: Migrate configparser from OrderedDict to dict. (#6819)

With 3.7+, dictionary are ordered by design.  Configparser still uses
collections.OrderedDict, which is unnecessary.  This updates the module
to use the standard dict implementation by default, and changes the
docs and tests to match.
Doc/library/configparser.rst
Lib/configparser.py
Lib/test/test_configparser.py
Misc/ACKS
Misc/NEWS.d/next/Library/2018-05-15-12-11-13.bpo-33504.czsHFg.rst [new file with mode: 0644]