summaryrefslogtreecommitdiffstats
path: root/Objects/setobject.c
Commit message (Expand)AuthorAgeFilesLines
* Use Py_ssize_t for PySet_Size() like all the other Py*_Size() functions.Neal Norwitz2006-03-041-1/+1
* Merge ssize_t branch.Martin v. Löwis2006-02-151-18/+19
* Renamed _length_cue() to __length_hint__(). See:Armin Rigo2006-02-111-2/+2
* Remove some shadowed variablesNeal Norwitz2006-01-081-1/+1
* Prevent name pollution by making lots of internal functions static.Neal Norwitz2005-11-131-1/+1
* Convert iterator __len__() methods to a private API.Raymond Hettinger2005-09-241-7/+12
* No longer ignore exceptions raised by comparisons during key lookup.Raymond Hettinger2005-09-161-48/+44
* Disallow keyword arguments for type constructors that don't use them.Georg Brandl2005-08-261-0/+6
* * Add a fast equality check path for frozensets where the hash value hasRaymond Hettinger2005-08-241-5/+8
* Add shortcuts for a|a and a&a.Raymond Hettinger2005-08-171-8/+9
* Results of a line-by-line comparison back to dictobject.c.Raymond Hettinger2005-08-171-127/+121
* Numerous fix-ups to C API and docs. Added tests for C API.Raymond Hettinger2005-08-161-9/+120
* DECREF --> XDECREFRaymond Hettinger2005-08-161-1/+1
* Add a C API for sets and frozensets.Raymond Hettinger2005-08-161-8/+72
* More function re-ordering (placing like functions together).Raymond Hettinger2005-08-131-86/+86
* * Bring lookkey() and lookkey_string() closer to dict version.Raymond Hettinger2005-08-131-93/+77
* * Fix SF #1257731. Make __contains__(), remove(), and discard() only doRaymond Hettinger2005-08-121-26/+30
* * Add short-circuit code for in-place operations with self (such asRaymond Hettinger2005-08-111-89/+153
* * Bring in INIT_NONZERO_SET_SLOTS macro from dictionary code.Raymond Hettinger2005-08-071-18/+51
* * Removed checked_error flag which no longer provides any benefit.Raymond Hettinger2005-08-061-15/+12
* * set_new() doesn't need to zero the structure a second time after tp_allocRaymond Hettinger2005-08-061-3/+6
* Factor away a redundant clear() function.Raymond Hettinger2005-08-061-13/+6
* * Improve a variable name: entry0 --> table.Raymond Hettinger2005-08-051-39/+58
* * Move copyright notice to top and indicate derivation from sets.py andRaymond Hettinger2005-08-051-22/+17
* Model set.pop() after dict.popitem().Raymond Hettinger2005-08-021-12/+30
* * Improve code for the empty frozenset singleton:Raymond Hettinger2005-08-011-63/+66
* Fix build on gcc: PySetIter_Type should be static in definitionHye-Shik Chang2005-08-011-1/+1
* Improve variable names.Raymond Hettinger2005-07-311-154/+154
* Fix frozenset() ref count and a comment typo.Raymond Hettinger2005-07-311-3/+2
* Comment on the set_swap_bodies() helper function.Raymond Hettinger2005-07-311-0/+13
* Revised the set() and frozenset() implementaion to use its own internalRaymond Hettinger2005-07-311-211/+863
* SF patch #1200018: Restore GC support to set objectsRaymond Hettinger2005-06-181-7/+24
* SF 1062353: set pickling problemsRaymond Hettinger2004-11-091-2/+9
* Use Py_CLEAR(). Add unrelated test.Raymond Hettinger2004-09-281-1/+1
* Moved SunPro warning suppression into pyport.h and out of individualNicholas Bastin2004-07-151-4/+0
* Fixed end-of-loop code not reached warning when using SunPro CNicholas Bastin2004-06-171-0/+4
* Remove a function no longer in use.Raymond Hettinger2004-06-141-8/+0
* Remove unnecessary GC support. Sets cannot have cycles.Raymond Hettinger2004-06-131-16/+7
* Futher improvements to frozenset hashing (based on Yitz Gale's battery ofRaymond Hettinger2004-06-101-8/+10
* Fixups to the hash function for frozensets.Raymond Hettinger2004-06-101-1/+4
* Make sets and deques weak referencable.Raymond Hettinger2004-05-301-4/+8
* The copy module now handles sets directly. The __copy__ methods are noRaymond Hettinger2004-03-081-4/+0
* * Simplify and speedup logic for tp_print.Raymond Hettinger2003-12-311-15/+29
* Speedup set.update by using the override mode for PyDict_Merge().Raymond Hettinger2003-12-151-1/+1
* Improve algorithm for set.difference when the input is not a set.Raymond Hettinger2003-12-151-43/+43
* * Refactor set.__contains__()Raymond Hettinger2003-12-131-21/+10
* Refactor set.discard() and set.remove().Raymond Hettinger2003-12-131-31/+22
* Use dictionary specific looping idiom where possible.Raymond Hettinger2003-12-131-114/+40
* * Added a new method flag, METH_COEXIST.Raymond Hettinger2003-12-131-0/+26
* Expose dict_contains() and PyDict_Contains() with is about 10% fasterRaymond Hettinger2003-11-251-9/+9