commit | dd4215483f369f17e15804179212493c76b7bc41 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sat Oct 30 08:10:29 2010 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sat Oct 30 08:10:29 2010 +0000 |
tree | c95c589f9f2296fc8e3b6494f66f374cfbf320ba | |
parent | 6b6dffdc73848aa05045b50fe4102216622a286e [diff] [blame] |
Issue 10221: Improve error message for dict.pop().
diff --git a/Misc/NEWS b/Misc/NEWS index b1e701d..52fecdd 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.