]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
* SF bug #1257731: Fix logic in set.__contains__(), set.remove(),
authorRaymond Hettinger <python@rcn.com>
Fri, 12 Aug 2005 23:47:50 +0000 (23:47 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 12 Aug 2005 23:47:50 +0000 (23:47 +0000)
commit787b4c5fea8476a1146918f90a6da7f63d7aa31c
tree53d7c83df4d9ca4bf38d7975b1f05d2666a249b5
parent7297ba01b17caea4ed28d4e92e3642053730e4f3
* SF bug #1257731:  Fix logic in set.__contains__(), set.remove(),
  and set.discard for handling keys that both inherite from set and
  define their own __hash__() function.

* Fixed O(n) performance issue with set.pop() which should have been
  an O(1) process.
Lib/test/test_set.py
Misc/NEWS
Objects/setobject.c