From: Meador Inge <meadori@gmail.com>
Date: Mon, 5 Mar 2012 04:40:15 +0000 (-0600)
Subject: Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.
X-Git-Tag: v3.3.0a2~276^2~28
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1c42599bae9fcc47eb5f5d38ff077c000fef38f;p=python

Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.
---

f1c42599bae9fcc47eb5f5d38ff077c000fef38f
diff --cc Misc/NEWS
index 2ff3d3c7b6,cd0024e17a..386e6c0530
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@@ -511,10 -130,10 +511,14 @@@ Core and Builtin
  Library
  -------
  
+ - Issue #14195: An issue that caused weakref.WeakSet instances to incorrectly
+   return True for a WeakSet instance 'a' in both 'a < a' and 'a > a' has been
+   fixed.
+ 
 +- Issue #14166: Pickler objects now have an optional ``dispatch_table``
 +  attribute which allows to set custom per-pickler reduction functions.
 +  Patch by sbt.
 +
  - Issue #14177: marshal.loads() now raises TypeError when given an unicode
    string.  Patch by Guilherme Gonçalves.