commit | 7529afce3c8e0e012738c5671d583beb3b85e270 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sat Oct 30 08:14:53 2010 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sat Oct 30 08:14:53 2010 +0000 |
tree | d57cad231d6b3e17026f746020dc9b10b2e8a702 | |
parent | 6acd432457447973edcfe39550b9ee4fc52d3a27 [diff] [blame] |
Issue 10221: Improve error message for dict.pop().
diff --git a/Misc/NEWS b/Misc/NEWS index fb6814f..a1b5246 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -10,6 +10,9 @@ Core and Builtins ----------------- +- Issue #10221: dict.pop(k) now has a key error message that includes the + missing key (same message d[k] returns for missing keys). + - Issue #5437: A preallocated MemoryError instance should not hold traceback data (including local variables caught in the stack trace) alive infinitely.