summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2018-09-26 03:59:00 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-09-26 03:59:00 (GMT)
commit2aaf98c16ae3070378de523a173e29644037d8bd (patch)
tree78b0a34f1d41d23a8b66e607a30fedfd2eb2a352 /Misc
parentd345bb4d9b6e16c681cd8a4e1fff94ecd6b0bb09 (diff)
downloadcpython-2aaf98c16ae3070378de523a173e29644037d8bd.zip
cpython-2aaf98c16ae3070378de523a173e29644037d8bd.tar.gz
cpython-2aaf98c16ae3070378de523a173e29644037d8bd.tar.bz2
bpo-34320: Fix dict(o) didn't copy order of dict subclass (GH-8624)
When dict subclass overrides order (`__iter__()`, `keys()`, and `items()`), `dict(o)` should use it instead of dict ordering. https://bugs.python.org/issue34320
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-08-02-22-34-59.bpo-34320.hNshAA.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-08-02-22-34-59.bpo-34320.hNshAA.rst b/Misc/NEWS.d/next/Core and Builtins/2018-08-02-22-34-59.bpo-34320.hNshAA.rst
new file mode 100644
index 0000000..ce5b339
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2018-08-02-22-34-59.bpo-34320.hNshAA.rst
@@ -0,0 +1 @@
+Fix ``dict(od)`` didn't copy iteration order of OrderedDict.