Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
a580c47c6d4acb6bc4323bbf04ab24c4487a67e9
/
Objects
/
setobject.c
a580c47
* Improve a variable name: entry0 --> table.
by Raymond Hettinger
· 19 years ago
a9d9936
* Move copyright notice to top and indicate derivation from sets.py and
by Raymond Hettinger
· 19 years ago
67962ab
Model set.pop() after dict.popitem().
by Raymond Hettinger
· 19 years ago
d794666
* Improve code for the empty frozenset singleton:
by Raymond Hettinger
· 19 years ago
e295676
Fix build on gcc: PySetIter_Type should be static in definition part also.
by Hye-Shik Chang
· 19 years ago
06d8cf8
Improve variable names.
by Raymond Hettinger
· 19 years ago
9dcb17c
Fix frozenset() ref count and a comment typo.
by Raymond Hettinger
· 19 years ago
934d63e
Comment on the set_swap_bodies() helper function.
by Raymond Hettinger
· 19 years ago
9f1a679
Revised the set() and frozenset() implementaion to use its own internal
by Raymond Hettinger
· 19 years ago
bb999b5
SF patch #1200018: Restore GC support to set objects
by Raymond Hettinger
· 19 years ago
15056a5
SF 1062353: set pickling problems
by Raymond Hettinger
· 20 years ago
6429a47
Use Py_CLEAR(). Add unrelated test.
by Raymond Hettinger
· 20 years ago
9ba301e
Moved SunPro warning suppression into pyport.h and out of individual
by Nicholas Bastin
· 20 years ago
1ce9e4c
Fixed end-of-loop code not reached warning when using SunPro C
by Nicholas Bastin
· 20 years ago
148a63f
Remove a function no longer in use.
by Raymond Hettinger
· 20 years ago
47edb4b
Remove unnecessary GC support. Sets cannot have cycles.
by Raymond Hettinger
· 20 years ago
c978633
Futher improvements to frozenset hashing (based on Yitz Gale's battery of
by Raymond Hettinger
· 20 years ago
27e403e
Fixups to the hash function for frozensets.
by Raymond Hettinger
· 20 years ago
691d805
Make sets and deques weak referencable.
by Raymond Hettinger
· 20 years ago
3fd500b
The copy module now handles sets directly. The __copy__ methods are no
by Raymond Hettinger
· 21 years ago
a3b11e7
* Simplify and speedup logic for tp_print.
by Raymond Hettinger
· 21 years ago
81ad32e
Speedup set.update by using the override mode for PyDict_Merge().
by Raymond Hettinger
· 21 years ago
fb4e33a
Improve algorithm for set.difference when the input is not a set.
by Raymond Hettinger
· 21 years ago
438e02d
* Refactor set.__contains__()
by Raymond Hettinger
· 21 years ago
0deab62
Refactor set.discard() and set.remove().
by Raymond Hettinger
· 21 years ago
dc5ae11
Use dictionary specific looping idiom where possible.
by Raymond Hettinger
· 21 years ago
8f5cdaa
* Added a new method flag, METH_COEXIST.
by Raymond Hettinger
· 21 years ago
bc0f2ab
Expose dict_contains() and PyDict_Contains() with is about 10% faster
by Raymond Hettinger
· 21 years ago
a38123e
Factor out more duplicate code.
by Raymond Hettinger
· 21 years ago
5f4e45d
Stop GCC warning about int literal that's so long that it becomes an
by Guido van Rossum
· 21 years ago
f5f41bf
* Checkin remaining documentation
by Raymond Hettinger
· 21 years ago
49ba4c3
* Simplify hash function and add test to show effectiveness of the hash
by Raymond Hettinger
· 21 years ago
bfd334a
Extend temporary hashability to remove() and discard().
by Raymond Hettinger
· 21 years ago
19c2d77
Allow temporary hashability for the __contains__ test.
by Raymond Hettinger
· 21 years ago
3fbec70
issubset() and issuperset() to work with general iterables
by Raymond Hettinger
· 21 years ago
82d73dd
Three minor performance improvements:
by Raymond Hettinger
· 21 years ago
b61982b
Implement straightforward suggestions from gcc warnings (remove unused
by Guido van Rossum
· 21 years ago
1b92fd5
Use PySequence_Contains() instead of direct access macro.
by Raymond Hettinger
· 21 years ago
50a4bb3
Various fixups (most suggested by Armin Rigo).
by Raymond Hettinger
· 21 years ago
e2c277a
Fix output spacing typo
by Raymond Hettinger
· 21 years ago
a690a99
* Migrate set() and frozenset() from the sandbox.
by Raymond Hettinger
· 21 years ago