summaryrefslogtreecommitdiff
path: root/Objects/setobject.c
AgeCommit message (Expand)AuthorLines
2006-04-15Clear dummy and emptyfrozenset, so that we don't haveMartin v. Löwis-2/+2
2006-04-12Ignore the references to the dummy objects used as deleted keysArmin Rigo-0/+8
2006-04-11Remove "static forward" declaration. Move constructorsMartin v. Löwis-17/+15
2006-03-30SF patch #1458476 with modifications based on discussions in python-dev. ThisBarry Warsaw-1/+68
2006-03-30Remove unnecessary casts in type object initializers.Georg Brandl-4/+4
2006-03-26Tighten an overbroad and misleading assertion.Raymond Hettinger-1/+1
2006-03-04Use Py_ssize_t for PySet_Size() like all the other Py*_Size() functions.Neal Norwitz-1/+1
2006-02-15Merge ssize_t branch.Martin v. Löwis-18/+19
2006-02-11Renamed _length_cue() to __length_hint__(). See:Armin Rigo-2/+2
2006-01-08Remove some shadowed variablesNeal Norwitz-1/+1
2005-11-13Prevent name pollution by making lots of internal functions static.Neal Norwitz-1/+1
2005-09-24Convert iterator __len__() methods to a private API.Raymond Hettinger-7/+12
2005-09-16No longer ignore exceptions raised by comparisons during key lookup.Raymond Hettinger-48/+44
2005-08-26Disallow keyword arguments for type constructors that don't use them.Georg Brandl-0/+6
2005-08-24* Add a fast equality check path for frozensets where the hash value hasRaymond Hettinger-5/+8
2005-08-17Add shortcuts for a|a and a&a.Raymond Hettinger-8/+9
2005-08-17Results of a line-by-line comparison back to dictobject.c.Raymond Hettinger-127/+121
2005-08-16Numerous fix-ups to C API and docs. Added tests for C API.Raymond Hettinger-9/+120
2005-08-16DECREF --> XDECREFRaymond Hettinger-1/+1
2005-08-16Add a C API for sets and frozensets.Raymond Hettinger-8/+72
2005-08-13More function re-ordering (placing like functions together).Raymond Hettinger-86/+86
2005-08-13* Bring lookkey() and lookkey_string() closer to dict version.Raymond Hettinger-93/+77
2005-08-12* Fix SF #1257731. Make __contains__(), remove(), and discard() only doRaymond Hettinger-26/+30
2005-08-11* Add short-circuit code for in-place operations with self (such asRaymond Hettinger-89/+153
2005-08-07* Bring in INIT_NONZERO_SET_SLOTS macro from dictionary code.Raymond Hettinger-18/+51
2005-08-06* Removed checked_error flag which no longer provides any benefit.Raymond Hettinger-15/+12
2005-08-06* set_new() doesn't need to zero the structure a second time after tp_allocRaymond Hettinger-3/+6
2005-08-06Factor away a redundant clear() function.Raymond Hettinger-13/+6
2005-08-05* Improve a variable name: entry0 --> table.Raymond Hettinger-39/+58
2005-08-05* Move copyright notice to top and indicate derivation from sets.py andRaymond Hettinger-22/+17
2005-08-02Model set.pop() after dict.popitem().Raymond Hettinger-12/+30
2005-08-01* Improve code for the empty frozenset singleton:Raymond Hettinger-63/+66
2005-08-01Fix build on gcc: PySetIter_Type should be static in definitionHye-Shik Chang-1/+1
2005-07-31Improve variable names.Raymond Hettinger-154/+154
2005-07-31Fix frozenset() ref count and a comment typo.Raymond Hettinger-3/+2
2005-07-31Comment on the set_swap_bodies() helper function.Raymond Hettinger-0/+13
2005-07-31Revised the set() and frozenset() implementaion to use its own internalRaymond Hettinger-211/+863
2005-06-18SF 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