<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/structseq.c, 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/Objects/structseq.c?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/structseq.c?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-08-12T01:43:40Z</updated>
<entry>
<title>Klocwork made another run and found a bunch more problems.</title>
<updated>2006-08-12T01:43:40Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-08-12T01:43:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f5ff3f3eb7abc2f4750c1319b560f67faf546ac'/>
<id>urn:sha1:6f5ff3f3eb7abc2f4750c1319b560f67faf546ac</id>
<content type='text'>
This is the first batch of fixes that should be easy to verify based on context.

This fixes problem numbers: 220 (ast), 323-324 (symtable),
321-322 (structseq), 215 (array), 210 (hotshot), 182 (codecs), 209 (etree).
</content>
</entry>
<entry>
<title>Unlink the structseq type from the global list of</title>
<updated>2006-04-15T12:45:05Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-04-15T12:45:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c597d1b4468e98f9f1f3fe22ab97012e4be918dc'/>
<id>urn:sha1:c597d1b4468e98f9f1f3fe22ab97012e4be918dc</id>
<content type='text'>
objects before initializing it. It might be linked
already if there was a Py_Initialize/Py_Finalize
cycle earlier; not unlinking it would break the global
list.
</content>
</entry>
<entry>
<title>Remove unnecessary casts in type object initializers.</title>
<updated>2006-03-30T11:57:00Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-03-30T11:57:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=347b30042b68e80b245a03b23cb616024ecb1f1e'/>
<id>urn:sha1:347b30042b68e80b245a03b23cb616024ecb1f1e</id>
<content type='text'>
</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>Revert 42400.</title>
<updated>2006-02-16T06:59:22Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-02-16T06:59:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e0e89f79201e2ee57ebd0cc4765793d870c0a5c0'/>
<id>urn:sha1:e0e89f79201e2ee57ebd0cc4765793d870c0a5c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support %zd in PyErr_Format and PyString_FromFormat.</title>
<updated>2006-02-16T06:54:25Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-02-16T06:54:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2c95cc6d72957296c46bb11362359675a47e2085'/>
<id>urn:sha1:2c95cc6d72957296c46bb11362359675a47e2085</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Get rid of compiler warnings (gcc 3.3.4 on x86)</title>
<updated>2006-02-16T06:21:57Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-02-16T06:21:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=26efe402c2a5dba441dc2feae2f15fea6be452ba'/>
<id>urn:sha1:26efe402c2a5dba441dc2feae2f15fea6be452ba</id>
<content type='text'>
</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>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>
</feed>
