| Mon, 02 Aug 2010 00:24:26 +0000 |
Ezio Melotti |
Merged revisions 77310-77311 via svnmerge from
2.6
|
| Tue, 15 Jul 2008 14:27:37 +0000 |
Nick Coghlan |
Issue 2235: __hash__ is once again inherited by default, but inheritance can be blocked explicitly so that collections.Hashable remains meaningful
legacy-trunk
|
| Sat, 13 Jan 2007 00:29:49 +0000 |
Brett Cannon |
Deprecate the sets module.
legacy-trunk
|
| Fri, 18 Aug 2006 22:13:04 +0000 |
Guido van Rossum |
Get rid of dict.has_key(). Boy this has a lot of repercussions!
|
| Sat, 13 Aug 2005 02:28:54 +0000 |
Raymond Hettinger |
Teach set modules to correctly compute s-=s and s^=s as the empty set.
2.4
|
| Wed, 19 Nov 2003 15:52:14 +0000 |
Raymond Hettinger |
Remove deprecation of sets.Set.update().
legacy-trunk
|
| Wed, 12 Nov 2003 15:21:20 +0000 |
Raymond Hettinger |
Improve backwards compatibility code to handle True/False.
legacy-trunk
|
| Mon, 08 Sep 2003 19:16:36 +0000 |
Raymond Hettinger |
Set the warnings stacklevel to two.
legacy-trunk
|
| Sun, 17 Aug 2003 08:34:09 +0000 |
Raymond Hettinger |
Improvements to set.py:
legacy-trunk
|
| Wed, 12 Nov 2003 15:21:57 +0000 |
Raymond Hettinger |
Improve backwards compatibility code to handle True/False.
2.3
|
| Mon, 22 Sep 2003 04:42:56 +0000 |
Raymond Hettinger |
Removed the PendingDeprecation warning from sets.py because it adds
2.3
|
| Mon, 08 Sep 2003 19:15:43 +0000 |
Raymond Hettinger |
Set the warnings stacklevel to two.
2.3
|
| Sun, 17 Aug 2003 22:08:58 +0000 |
Raymond Hettinger |
Backport improvements to set.py so that the interface will remain
2.3
|
| Fri, 15 Aug 2003 21:17:04 +0000 |
Raymond Hettinger |
Make sets.py compatible with Py2.2
legacy-trunk
|
| Thu, 26 Jun 2003 18:49:28 +0000 |
Raymond Hettinger |
Portion of SF patch #761104. Fixes a minor docstring error.
legacy-trunk
|
| Sun, 02 Mar 2003 00:19:49 +0000 |
Tim Peters |
SF bug 693121: Set == non-Set is a TypeError.
legacy-trunk
|
| Fri, 14 Feb 2003 03:42:11 +0000 |
Raymond Hettinger |
SF bug #663701: sets module review
legacy-trunk
|
| Sun, 09 Feb 2003 06:40:58 +0000 |
Raymond Hettinger |
C Code:
legacy-trunk
|
| Tue, 04 Feb 2003 00:38:20 +0000 |
Tim Peters |
Whitespace normalization.
legacy-trunk
|
| Sun, 02 Feb 2003 16:07:53 +0000 |
Raymond Hettinger |
One more use of ifilter()
legacy-trunk
|
| Sun, 02 Feb 2003 14:27:19 +0000 |
Raymond Hettinger |
SF patch #678899: Save time and memory by using itertools in sets module.
legacy-trunk
|
| Tue, 14 Jan 2003 16:45:04 +0000 |
Guido van Rossum |
Explicitly raise an exception in __cmp__ -- this clarifies that cmp()
legacy-trunk
|
| Mon, 25 Nov 2002 20:43:55 +0000 |
Raymond Hettinger |
SF 643115: Set._update() had a special case for dictionaries which allowed
legacy-trunk
|
| Wed, 13 Nov 2002 19:34:26 +0000 |
Jeremy Hylton |
Add getstate and setstate implementation to concrete set classes.
legacy-trunk
|
| Fri, 08 Nov 2002 17:03:36 +0000 |
Guido van Rossum |
Another attempt at making the set constructor both safe and fast. [SF
legacy-trunk
|
| Fri, 08 Nov 2002 05:26:52 +0000 |
Tim Peters |
_update(): Commented the new obscurity. Materialized into a tuple
legacy-trunk
|
| Fri, 08 Nov 2002 05:03:21 +0000 |
Raymond Hettinger |
Closes SF bug #628246.
legacy-trunk
|
| Fri, 04 Oct 2002 20:01:48 +0000 |
Raymond Hettinger |
.iterkeys() is not needed.
legacy-trunk
|
| Thu, 29 Aug 2002 15:13:50 +0000 |
Raymond Hettinger |
Sped _update().
legacy-trunk
|
| Mon, 26 Aug 2002 00:44:07 +0000 |
Tim Peters |
Gave intersection_update a speed boost.
legacy-trunk
|
| Sun, 25 Aug 2002 20:12:19 +0000 |
Tim Peters |
Gave issubet() and issuperset() major speed boosts. That's it for now!
legacy-trunk
|
| Sun, 25 Aug 2002 19:50:43 +0000 |
Tim Peters |
Gave __sub__/difference a factor of 2-5 speed boost.
legacy-trunk
|
| Sun, 25 Aug 2002 19:47:54 +0000 |
Tim Peters |
Gave __xor__/symmetric_difference a factor of 2-5 speed boost.
legacy-trunk
|
| Sun, 25 Aug 2002 19:21:27 +0000 |
Tim Peters |
Sped union by a factor of 3-4.
legacy-trunk
|
| Sun, 25 Aug 2002 19:12:45 +0000 |
Tim Peters |
Sped intersection by large factors (3-5x faster than before on sets of
legacy-trunk
|
| Sun, 25 Aug 2002 18:59:04 +0000 |
Tim Peters |
Added a clue about why xyz_update isn't the same as __xyz__.
legacy-trunk
|
| Sun, 25 Aug 2002 18:43:10 +0000 |
Tim Peters |
Implemented <, <=, >, >= for sets, giving subset and proper-subset
legacy-trunk
|
| Sun, 25 Aug 2002 17:10:17 +0000 |
Tim Peters |
Record a clue about why __or__ is not union, etc.
legacy-trunk
|
| Sat, 24 Aug 2002 07:33:06 +0000 |
Raymond Hettinger |
Removed < <= > >= from the API. Implemented as comparisons of the
legacy-trunk
|
| Sat, 24 Aug 2002 06:19:02 +0000 |
Raymond Hettinger |
At Tim Peter's suggestion, propagated GvR's binary operator changes to
legacy-trunk
|
| Sat, 24 Aug 2002 04:47:42 +0000 |
Raymond Hettinger |
Since instances of _TemporarilyImmutableSet are always thrown away
legacy-trunk
|
| Sat, 24 Aug 2002 02:35:48 +0000 |
Raymond Hettinger |
1. Removed module self test in favor of unittests -- Timbot's suggestion.
legacy-trunk
|
| Fri, 23 Aug 2002 20:36:58 +0000 |
Tim Peters |
pop() docstring: this isn't a randomly-chosen element, it's merely
legacy-trunk
|
| Fri, 23 Aug 2002 20:06:42 +0000 |
Tim Peters |
Comment repair.
legacy-trunk
|
| Fri, 23 Aug 2002 14:45:02 +0000 |
Guido van Rossum |
RH pointed out that discard(element) doesn't do the transformation on
legacy-trunk
|
| Thu, 22 Aug 2002 17:23:33 +0000 |
Guido van Rossum |
Change the binary operators |, &, ^, - to return NotImplemented rather
legacy-trunk
|
| Wed, 21 Aug 2002 13:20:51 +0000 |
Raymond Hettinger |
Now that __init__ transforms set elements, we know that all of the
legacy-trunk
|
| Wed, 21 Aug 2002 04:12:03 +0000 |
Raymond Hettinger |
Sped ._update() method by factoring try/except out of the inner loop.
legacy-trunk
|
| Wed, 21 Aug 2002 03:20:44 +0000 |
Guido van Rossum |
Ouch. The test suite *really* needs work!!!!! There were several
legacy-trunk
|
| Wed, 21 Aug 2002 02:44:04 +0000 |
Guido van Rossum |
Add Raymond H to the list of authors; add some XXX comments about
legacy-trunk
|
| Wed, 21 Aug 2002 02:22:08 +0000 |
Raymond Hettinger |
Fast size check for sub/super set tests
legacy-trunk
|
| Wed, 21 Aug 2002 01:35:29 +0000 |
Raymond Hettinger |
Optimize try/except ordering in sets.py.
legacy-trunk
|
| Tue, 20 Aug 2002 23:34:01 +0000 |
Raymond Hettinger |
Minor typo
legacy-trunk
|
| Tue, 20 Aug 2002 21:51:59 +0000 |
Guido van Rossum |
Rename popitem() to pop(). (An idea from SF patch 597444.)
legacy-trunk
|
| Tue, 20 Aug 2002 21:38:37 +0000 |
Guido van Rossum |
Move __init__ from BaseSet into Set and ImmutableSet. This causes a
legacy-trunk
|
| Tue, 20 Aug 2002 20:05:23 +0000 |
Guido van Rossum |
Add a note reminding the reader that sets are not sequences. I
legacy-trunk
|
| Mon, 19 Aug 2002 16:29:58 +0000 |
Guido van Rossum |
Fix typo in __slots__ of ImmutableSet.
legacy-trunk
|
| Mon, 19 Aug 2002 16:19:15 +0000 |
Guido van Rossum |
Set classes and their unit tests, from sandbox.
legacy-trunk
|