diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-10-07 20:40:09 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-10-07 20:40:09 (GMT) |
commit | 00c94edea0cdc8c490a91dd5455150be8b19d3e2 (patch) | |
tree | a3071f8bf0ca2401def09c64d0f5074ddb6c4c96 /Misc/NEWS | |
parent | 001befaadcf562170039e085ebd4ae3318f322c2 (diff) | |
download | cpython-00c94edea0cdc8c490a91dd5455150be8b19d3e2.zip cpython-00c94edea0cdc8c490a91dd5455150be8b19d3e2.tar.gz cpython-00c94edea0cdc8c490a91dd5455150be8b19d3e2.tar.bz2 |
#4069: aSet.remove(otherSet) would always report the empty frozenset([]) as the missing key.
Now it correctly refers to the initial otherSet.
Backport of r66836.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -12,6 +12,11 @@ What's New in Python 2.6.1 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. + - Fixed C99 style comments in several files. Python is now C89 compatible again. |