commit | d1f2cb37a2d1cc7b098abf6bc403fb5d43128051 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Wed Oct 31 14:05:55 2012 -0400 |
committer | Benjamin Peterson <benjamin@python.org> | Wed Oct 31 14:05:55 2012 -0400 |
tree | 6474e4e081df0fe9f1ed4991835780f3443c9faa | |
parent | c43112823b1f748822c43ad42566537580c02af2 [diff] [blame] |
only fast-path fromkeys() when the constructor returns a empty dict (closes #16345)
diff --git a/Misc/NEWS b/Misc/NEWS index 434f221..bd6cd80 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -10,6 +10,9 @@ Core and Builtins ----------------- +- Issue #16345: Fix an infinite loop when ``fromkeys`` on a dict subclass + recieved a nonempty dict from the constructor. + - Issue #16197: Update winreg docstrings and documentation to match code. Patch by Zachary Ware.