summaryrefslogtreecommitdiff
path: root/Objects/setobject.c
AgeCommit message (Expand)AuthorLines
2005-08-26Disallow keyword arguments for type constructors that don't use themGeorg Brandl-0/+6
2005-08-13Teach set modules to correctly compute s-=s and s^=s as the empty set.Raymond Hettinger-10/+13
2005-08-12* SF bug #1257731: Fix logic in set.__contains__(), set.remove(),Raymond Hettinger-36/+41
2005-06-19SF patch #1200018: Restore GC support to set objectsRaymond Hettinger-7/+24
2004-11-09SF 1062353: set pickling problemsRaymond Hettinger-2/+9
2004-09-28Use Py_CLEAR(). Add unrelated test.Raymond Hettinger-1/+1
2004-07-15Moved SunPro warning suppression into pyport.h and out of individualNicholas Bastin-4/+0
2004-06-17Fixed end-of-loop code not reached warning when using SunPro CNicholas Bastin-0/+4
2004-06-14Remove a function no longer in use.Raymond Hettinger-8/+0
2004-06-13Remove unnecessary GC support. Sets cannot have cycles.Raymond Hettinger-16/+7
2004-06-10Futher improvements to frozenset hashing (based on Yitz Gale's battery ofRaymond Hettinger-8/+10
2004-06-10Fixups to the hash function for frozensets.Raymond Hettinger-1/+4
2004-05-30Make sets and deques weak referencable.Raymond Hettinger-4/+8
2004-03-08The copy module now handles sets directly. The __copy__ methods are noRaymond Hettinger-4/+0
2003-12-31* Simplify and speedup logic for tp_print.Raymond Hettinger-15/+29
2003-12-15Speedup set.update by using the override mode for PyDict_Merge().Raymond Hettinger-1/+1
2003-12-15Improve algorithm for set.difference when the input is not a set.Raymond Hettinger-43/+43
2003-12-13* Refactor set.__contains__()Raymond Hettinger-21/+10
2003-12-13Refactor set.discard() and set.remove().Raymond Hettinger-31/+22
2003-12-13Use dictionary specific looping idiom where possible.Raymond Hettinger-114/+40
2003-12-13* Added a new method flag, METH_COEXIST.Raymond Hettinger-0/+26
2003-11-25Expose dict_contains() and PyDict_Contains() with is about 10% fasterRaymond Hettinger-9/+9
2003-11-24Factor out more duplicate code.Raymond Hettinger-77/+51
2003-11-24Stop GCC warning about int literal that's so long that it becomes anGuido van Rossum-1/+1
2003-11-24* Checkin remaining documentationRaymond Hettinger-137/+148
2003-11-23* Simplify hash function and add test to show effectiveness of the hashRaymond Hettinger-14/+26
2003-11-22Extend temporary hashability to remove() and discard().Raymond Hettinger-11/+52
2003-11-21Allow temporary hashability for the __contains__ test.Raymond Hettinger-1/+17
2003-11-21issubset() and issuperset() to work with general iterablesRaymond Hettinger-5/+15
2003-11-20Three minor performance improvements:Raymond Hettinger-12/+41
2003-11-18Implement straightforward suggestions from gcc warnings (remove unusedGuido van Rossum-3/+2
2003-11-18Use PySequence_Contains() instead of direct access macro.Raymond Hettinger-11/+5
2003-11-17Various fixups (most suggested by Armin Rigo).Raymond Hettinger-40/+66
2003-11-16Fix output spacing typoRaymond Hettinger-1/+1
2003-11-16* Migrate set() and frozenset() from the sandbox.Raymond Hettinger-0/+1073