summaryrefslogtreecommitdiffstats
path: root/Objects/setobject.c
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Factor out more duplicate code.Raymond Hettinger2003-11-241-77/+51
* Stop GCC warning about int literal that's so long that it becomes anGuido van Rossum2003-11-241-1/+1
* * Checkin remaining documentationRaymond Hettinger2003-11-241-137/+148
* * Simplify hash function and add test to show effectiveness of the hashRaymond Hettinger2003-11-231-14/+26
* Extend temporary hashability to remove() and discard().Raymond Hettinger2003-11-221-11/+52
* Allow temporary hashability for the __contains__ test.Raymond Hettinger2003-11-211-1/+17
* issubset() and issuperset() to work with general iterablesRaymond Hettinger2003-11-211-5/+15
* Three minor performance improvements:Raymond Hettinger2003-11-201-12/+41
* Implement straightforward suggestions from gcc warnings (remove unusedGuido van Rossum2003-11-181-3/+2
* Use PySequence_Contains() instead of direct access macro.Raymond Hettinger2003-11-181-11/+5
* Various fixups (most suggested by Armin Rigo).Raymond Hettinger2003-11-171-40/+66
* Fix output spacing typoRaymond Hettinger2003-11-161-1/+1
* * Migrate set() and frozenset() from the sandbox.Raymond Hettinger2003-11-161-0/+1073