commit | a673b1fd0e6396e587a99ec9b2bec6b40132557a | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Fri Dec 31 23:16:17 2010 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Fri Dec 31 23:16:17 2010 +0000 |
tree | 08f806a0ce4cc5b7c2e4adefe60f6fcf19d3282e | |
parent | ed13853e5dd22a85131b34707c6087677eec642a [diff] [blame] |
Fix OrderedDict.setdefault() to work for subclasses that define __missing__().
diff --git a/Misc/NEWS b/Misc/NEWS index b6b968a..9ddd9b3 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -20,6 +20,9 @@ Library ------- +- Fix collections.OrderedDict.setdefault() so that it works in + subclasses that define __missing__(). + - Issue 10786: unittest.TextTestRunner default stream no longer bound at import time. `sys.stderr` now looked up at instantiation time. Fix contributed by Mark Roddy.