summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJohn Reese <john@noswap.com>2018-06-05 23:31:33 (GMT)
committerƁukasz Langa <lukasz@langa.pl>2018-06-05 23:31:33 (GMT)
commit3a5b0d8988491d9408b22bceea6fd70b91345724 (patch)
treeaa1e6bb4b15091e203305658677251739946ede5 /Misc
parent5f3d04fa4e9b3c3b0e4807f8516de9365bfed467 (diff)
downloadcpython-3a5b0d8988491d9408b22bceea6fd70b91345724.zip
cpython-3a5b0d8988491d9408b22bceea6fd70b91345724.tar.gz
cpython-3a5b0d8988491d9408b22bceea6fd70b91345724.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-15-12-11-13.bpo-33504.czsHFg.rst2
2 files changed, 3 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 42f1abc..481385f 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1315,6 +1315,7 @@ Marc Recht
John Redford
Terry J. Reedy
Gareth Rees
+John Reese
Steve Reeves
Lennart Regebro
John Regehr
diff --git a/Misc/NEWS.d/next/Library/2018-05-15-12-11-13.bpo-33504.czsHFg.rst b/Misc/NEWS.d/next/Library/2018-05-15-12-11-13.bpo-33504.czsHFg.rst
new file mode 100644
index 0000000..d5065d9
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-05-15-12-11-13.bpo-33504.czsHFg.rst
@@ -0,0 +1,2 @@
+Switch the default dictionary implementation for :mod:`configparser` from
+:class:`collections.OrderedDict` to the standard :class:`dict` type.