diff options
| author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-10-07 20:32:10 +0000 |
|---|---|---|
| committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-10-07 20:32:10 +0000 |
| commit | d78b9dcbc3356d15bd0d0dd9f821452b4f5ba282 (patch) | |
| tree | 870da709d8f5f95efcd2c120563cb88b5606e3fd /Misc | |
| parent | 39defbe6a9191d3054dca0903b4861f7adcfd68d (diff) | |
| download | cpython-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 ------- |
