c83ea137d7e717f764e2f31fc2544f522de7d857 |
|
09-May-2010 |
Antoine Pitrou <solipsis@pitrou.net> |
Untabify C files. Will watch buildbots.
/external/python/cpython2/Include/setobject.h
|
58e185a33b8dbfa4671adc99a8c6a6fd44515a71 |
|
04-Feb-2008 |
Amaury Forgeot d'Arc <amauryfa@gmail.com> |
Nasty typo in setobject.h
/external/python/cpython2/Include/setobject.h
|
cab3d98ca19659698a29108aabb040f2741d1a2a |
|
03-Feb-2008 |
Amaury Forgeot d'Arc <amauryfa@gmail.com> |
Ensure that PySet_Add() operates on a newly created frozenset, like PyTuple_SetItem does. Add PyFrozenSet_Check(), which was not needed before; The list of Py*Set_Check* macros seems to be complete now. Add missing NEWS entries about all this.
/external/python/cpython2/Include/setobject.h
|
7759a0cd76105e6685008da7a1e2deb6e0d37c38 |
|
28-Jan-2008 |
Raymond Hettinger <python@rcn.com> |
Factor-out common code with a new macro
/external/python/cpython2/Include/setobject.h
|
e93237dfcc4ee4feee62adafb4e7899487ca864b |
|
19-Dec-2007 |
Christian Heimes <christian@cheimes.de> |
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
/external/python/cpython2/Include/setobject.h
|
6819210b9e4e5719a6f7f9c1725f8fa70a8936f6 |
|
21-Jul-2007 |
Martin v. Löwis <martin@v.loewis.de> |
PEP 3123: Provide forward compatibility with Python 3.0, while keeping backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT.
/external/python/cpython2/Include/setobject.h
|
0bbbfc4c0b0cf84a23d2644080d09fb8af5324d2 |
|
20-Mar-2007 |
Raymond Hettinger <python@rcn.com> |
Extend work on rev 52962 and 53829 eliminating redundant PyObject_Hash() calls and fixing set/dict interoperability.
/external/python/cpython2/Include/setobject.h
|
0f2783cb4cce5fdc073312225d6b5a1b84e4102b |
|
19-Jun-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
Use Py_ssize_t
/external/python/cpython2/Include/setobject.h
|
176014ffad8d39820293b63bf7177a7d2953343a |
|
31-Mar-2006 |
Barry Warsaw <barry@python.org> |
SF patch #1458476 with modifications based on discussions in python-dev. This adds the following API calls: PySet_Clear(), _PySet_Next(), and _PySet_Update(). The latter two are considered non-public. Tests and documentation (for the public API) are included.
/external/python/cpython2/Include/setobject.h
|
8c49c82889d1af480fa159b56c0e70ef81cf6749 |
|
04-Mar-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
Use Py_ssize_t for PySet_Size() like all the other Py*_Size() functions.
/external/python/cpython2/Include/setobject.h
|
c47e01d02021253dd9f8fd4ced6eb663436431bb |
|
16-Aug-2005 |
Raymond Hettinger <python@rcn.com> |
Numerous fix-ups to C API and docs. Added tests for C API.
/external/python/cpython2/Include/setobject.h
|
beb3101b051e415cb18ba844e0187a8caa7ac3fd |
|
16-Aug-2005 |
Raymond Hettinger <python@rcn.com> |
Add a C API for sets and frozensets.
/external/python/cpython2/Include/setobject.h
|
bc841a1464b53ddbaa989e4cae97024fbe111abf |
|
07-Aug-2005 |
Raymond Hettinger <python@rcn.com> |
* Bring in INIT_NONZERO_SET_SLOTS macro from dictionary code. * Bring in free list from dictionary code. * Improve several comments. * Differencing can leave many dummy entries. If more than 1/6 are dummies, then resize them away. * Factor-out common code with new macro, PyAnySet_CheckExact.
/external/python/cpython2/Include/setobject.h
|
67962ab1bb4f75083c588e36a00bbcf480fb7c91 |
|
02-Aug-2005 |
Raymond Hettinger <python@rcn.com> |
Model set.pop() after dict.popitem().
/external/python/cpython2/Include/setobject.h
|
d794666048510deca0d4987a4c74d0fca85be411 |
|
01-Aug-2005 |
Raymond Hettinger <python@rcn.com> |
* Improve code for the empty frozenset singleton: - Handle both frozenset() and frozenset([]). - Do not use singleton for frozenset subclasses. - Finalize the singleton. - Add test cases. * Factor-out set_update_internal() from set_update(). Simplifies the code for several internal callers. * Factor constant expressions out of loop in set_merge_internal(). * Minor comment touch-ups.
/external/python/cpython2/Include/setobject.h
|
9f1a6796eb83a2884df5fd93487634e46d8830a7 |
|
31-Jul-2005 |
Raymond Hettinger <python@rcn.com> |
Revised the set() and frozenset() implementaion to use its own internal data structure instead of using dictionaries. Reduces memory consumption by 1/3 and provides modest speed-ups for most set operations.
/external/python/cpython2/Include/setobject.h
|
89a39461bff04b80bb4857790350e1ab30ff2df9 |
|
28-Oct-2004 |
Armin Rigo <arigo@tunes.org> |
Wrote down the invariants of some common objects whose structure is exposed in header files. Fixed a few comments in these headers. As we might have expected, writing down invariants systematically exposed a (minor) bug. In this case, function objects have a writeable func_code attribute, which could be set to code objects with the wrong number of free variables. Calling the resulting function segfaulted the interpreter. Added a corresponding test.
/external/python/cpython2/Include/setobject.h
|
691d80532b0a0204e92de35ecba1472d87af6e94 |
|
30-May-2004 |
Raymond Hettinger <python@rcn.com> |
Make sets and deques weak referencable.
/external/python/cpython2/Include/setobject.h
|
f5f41bf087c28500df9399335e7452da3a06caae |
|
24-Nov-2003 |
Raymond Hettinger <python@rcn.com> |
* Checkin remaining documentation * Add more tests * Refactor and neaten the code a bit. * Rename union_update() to update(). * Improve the algorithms (making them a closer to sets.py).
/external/python/cpython2/Include/setobject.h
|
50a4bb325c29e7ac2e4727787cb5a40f995ea204 |
|
17-Nov-2003 |
Raymond Hettinger <python@rcn.com> |
Various fixups (most suggested by Armin Rigo).
/external/python/cpython2/Include/setobject.h
|
a690a9967e715663b7a421c9ebdad91381cdf1e4 |
|
16-Nov-2003 |
Raymond Hettinger <python@rcn.com> |
* Migrate set() and frozenset() from the sandbox. * Install the unittests, docs, newsitem, include file, and makefile update. * Exercise the new functions whereever sets.py was being used. Includes the docs for libfuncs.tex. Separate docs for the types are forthcoming.
/external/python/cpython2/Include/setobject.h
|