summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-10-07 20:32:10 +0000
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-10-07 20:32:10 +0000
commitd78b9dcbc3356d15bd0d0dd9f821452b4f5ba282 (patch)
tree870da709d8f5f95efcd2c120563cb88b5606e3fd /Misc
parent39defbe6a9191d3054dca0903b4861f7adcfd68d (diff)
downloadcpython-git-d78b9dcbc3356d15bd0d0dd9f821452b4f5ba282.tar.gz
#4069: aSet.remove(otherSet) would always report the empty frozenset([]) as the missing key.
Now it correctly refers to the initial otherset. Reviewed by Raymond. Will backport to 2.6.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c32bd684d2..50494f4f78 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,11 @@ What's New in Python 2.7 alpha 1
Core and Builtins
-----------------
+- Issue #4069: When set.remove(element) is used with a set element, the element
+ is temporarily replaced with an equivalent frozenset. But the eventual
+ KeyError would always report the empty frozenset([]) as the missing key. Now
+ it correctly refers to the initial element.
+
Library
-------