<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/enumobject.c, branch v2.5a2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/enumobject.c?h=v2.5a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/enumobject.c?h=v2.5a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-04-15T21:47:09Z</updated>
<entry>
<title>Use Py_VISIT in all tp_traverse methods, instead of traversing manually or</title>
<updated>2006-04-15T21:47:09Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-04-15T21:47:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c6e55068cad6f2178981eec4f0a0a583b8bba21a'/>
<id>urn:sha1:c6e55068cad6f2178981eec4f0a0a583b8bba21a</id>
<content type='text'>
using a custom, nearly-identical macro. This probably changes how some of
these functions are compiled, which may result in fractionally slower (or
faster) execution. Considering the nature of traversal, visiting much of the
address space in unpredictable patterns, I'd argue the code readability and
maintainability is well worth it ;P
</content>
</entry>
<entry>
<title>More C++-compliance. Note especially listobject.c - to get C++ to accept the</title>
<updated>2006-04-11T06:54:30Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2006-04-11T06:54:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=377be11ee1fab015f4cc77975374f86cf436536e'/>
<id>urn:sha1:377be11ee1fab015f4cc77975374f86cf436536e</id>
<content type='text'>
PyTypeObject structures, I had to make prototypes for the functions, and
move the structure definition ahead of the functions. I'd dearly like a better
way to do this - to change this would make for a massive set of changes to
the codebase.

There's still some warnings - this is purely to get rid of errors first.
</content>
</entry>
<entry>
<title>Change int to Py_ssize_t in several places.</title>
<updated>2006-03-07T12:08:51Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-03-07T12:08:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=725507b52ec40ab49ad87596fff7434322b9b5b1'/>
<id>urn:sha1:725507b52ec40ab49ad87596fff7434322b9b5b1</id>
<content type='text'>
Add (int) casts to silence compiler warnings.
Raise Python exceptions for overflows.
</content>
</entry>
<entry>
<title>Revert backwards-incompatible const changes.</title>
<updated>2006-02-27T16:46:16Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-02-27T16:46:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=15e62742fad688b026ba80bf17d1345c4cbd423b'/>
<id>urn:sha1:15e62742fad688b026ba80bf17d1345c4cbd423b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use Py_ssize_t for counts and sizes.</title>
<updated>2006-02-16T14:32:27Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-02-16T14:32:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=eb079f1c2533bcefcab3ef4c07b800e5bd37239f'/>
<id>urn:sha1:eb079f1c2533bcefcab3ef4c07b800e5bd37239f</id>
<content type='text'>
Convert Py_ssize_t using PyInt_FromSsize_t
</content>
</entry>
<entry>
<title>Merge ssize_t branch.</title>
<updated>2006-02-15T17:27:45Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-02-15T17:27:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=18e165558b24d29e7e0ca501842b9236589b012a'/>
<id>urn:sha1:18e165558b24d29e7e0ca501842b9236589b012a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Renamed _length_cue() to __length_hint__().  See:</title>
<updated>2006-02-11T21:32:43Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2006-02-11T21:32:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f5b3e36493da275334e29afdbd238863697dca35'/>
<id>urn:sha1:f5b3e36493da275334e29afdbd238863697dca35</id>
<content type='text'>
http://mail.python.org/pipermail/python-dev/2006-February/060524.html
</content>
</entry>
<entry>
<title>en_sit will be freed when en is DECREF'd.  Don't double free.</title>
<updated>2005-12-11T20:55:10Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2005-12-11T20:55:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ba2fa637d64d3368e5ad9748919f0d6552c1235d'/>
<id>urn:sha1:ba2fa637d64d3368e5ad9748919f0d6552c1235d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add const to several API functions that take char *.</title>
<updated>2005-12-10T18:50:16Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2005-12-10T18:50:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=af68c874a6803b4e90b616077a602c0593719a1d'/>
<id>urn:sha1:af68c874a6803b4e90b616077a602c0593719a1d</id>
<content type='text'>
In C++, it's an error to pass a string literal to a char* function
without a const_cast().  Rather than require every C++ extension
module to put a cast around string literals, fix the API to state the
const-ness.

I focused on parts of the API where people usually pass literals:
PyArg_ParseTuple() and friends, Py_BuildValue(), PyMethodDef, the type
slots, etc.  Predictably, there were a large set of functions that
needed to be fixed as a result of these changes.  The most pervasive
change was to make the keyword args list passed to
PyArg_ParseTupleAndKewords() to be a const char *kwlist[].

One cast was required as a result of the changes:  A type object
mallocs the memory for its tp_doc slot and later frees it.
PyTypeObject says that tp_doc is const char *; but if the type was
created by type_new(), we know it is safe to cast to char *.
</content>
</entry>
<entry>
<title>Convert iterator __len__() methods to a private API.</title>
<updated>2005-09-24T21:23:05Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2005-09-24T21:23:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6b27cda64386195cd07dfb686e9486f1c4bc3159'/>
<id>urn:sha1:6b27cda64386195cd07dfb686e9486f1c4bc3159</id>
<content type='text'>
</content>
</entry>
</feed>
