<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/setobject.h, branch v2.5c2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/setobject.h?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/setobject.h?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-06-19T05:40:44Z</updated>
<entry>
<title>Use Py_ssize_t</title>
<updated>2006-06-19T05:40:44Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-06-19T05:40:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0f2783cb4cce5fdc073312225d6b5a1b84e4102b'/>
<id>urn:sha1:0f2783cb4cce5fdc073312225d6b5a1b84e4102b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch #1458476 with modifications based on discussions in python-dev.  This</title>
<updated>2006-03-30T22:45:35Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2006-03-30T22:45:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=176014ffad8d39820293b63bf7177a7d2953343a'/>
<id>urn:sha1:176014ffad8d39820293b63bf7177a7d2953343a</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Use Py_ssize_t for PySet_Size() like all the other Py*_Size() functions.</title>
<updated>2006-03-04T18:41:19Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-03-04T18:41:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8c49c82889d1af480fa159b56c0e70ef81cf6749'/>
<id>urn:sha1:8c49c82889d1af480fa159b56c0e70ef81cf6749</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Numerous fix-ups to C API and docs.  Added tests for C API.</title>
<updated>2005-08-16T10:44:15Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2005-08-16T10:44:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c47e01d02021253dd9f8fd4ced6eb663436431bb'/>
<id>urn:sha1:c47e01d02021253dd9f8fd4ced6eb663436431bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a C API for sets and frozensets.</title>
<updated>2005-08-16T03:47:52Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2005-08-16T03:47:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=beb3101b051e415cb18ba844e0187a8caa7ac3fd'/>
<id>urn:sha1:beb3101b051e415cb18ba844e0187a8caa7ac3fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>* Bring in INIT_NONZERO_SET_SLOTS macro from dictionary code.</title>
<updated>2005-08-07T13:02:53Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2005-08-07T13:02:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bc841a1464b53ddbaa989e4cae97024fbe111abf'/>
<id>urn:sha1:bc841a1464b53ddbaa989e4cae97024fbe111abf</id>
<content type='text'>
* 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.
</content>
</entry>
<entry>
<title>Model set.pop() after dict.popitem().</title>
<updated>2005-08-02T03:45:16Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2005-08-02T03:45:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=67962ab1bb4f75083c588e36a00bbcf480fb7c91'/>
<id>urn:sha1:67962ab1bb4f75083c588e36a00bbcf480fb7c91</id>
<content type='text'>
</content>
</entry>
<entry>
<title>* Improve code for the empty frozenset singleton:</title>
<updated>2005-08-01T21:39:29Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2005-08-01T21:39:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d794666048510deca0d4987a4c74d0fca85be411'/>
<id>urn:sha1:d794666048510deca0d4987a4c74d0fca85be411</id>
<content type='text'>
  - 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.
</content>
</entry>
<entry>
<title>Revised the set() and frozenset() implementaion to use its own internal</title>
<updated>2005-07-31T01:16:36Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2005-07-31T01:16:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9f1a6796eb83a2884df5fd93487634e46d8830a7'/>
<id>urn:sha1:9f1a6796eb83a2884df5fd93487634e46d8830a7</id>
<content type='text'>
data structure instead of using dictionaries.  Reduces memory consumption
by 1/3 and provides modest speed-ups for most set operations.
</content>
</entry>
<entry>
<title>Wrote down the invariants of some common objects whose structure is</title>
<updated>2004-10-28T16:32:00Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2004-10-28T16:32:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=89a39461bff04b80bb4857790350e1ab30ff2df9'/>
<id>urn:sha1:89a39461bff04b80bb4857790350e1ab30ff2df9</id>
<content type='text'>
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.
</content>
</entry>
</feed>
