<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/bz2module.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/Modules/bz2module.c?h=v2.5a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/bz2module.c?h=v2.5a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-02-27T16:46:16Z</updated>
<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>Remove unused variable</title>
<updated>2006-02-18T23:26:27Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-02-18T23:26:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=093ab1aa03f9b049496c3fd8d3006b053aa4f9a4'/>
<id>urn:sha1:093ab1aa03f9b049496c3fd8d3006b053aa4f9a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bug #1366000: cleanup BZ2File.seek() logic. Fixes the case of whence=2, offset&gt;=0.</title>
<updated>2006-02-18T21:57:25Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-02-18T21:57:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=47fab92542133b9a3936f8771560bd6167db9d4d'/>
<id>urn:sha1:47fab92542133b9a3936f8771560bd6167db9d4d</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>Check return result from Py_InitModule*().  This API can fail.</title>
<updated>2006-01-19T06:09:39Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-01-19T06:09:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1ac754fa10f5d199d19911e21185d0970cb3073f'/>
<id>urn:sha1:1ac754fa10f5d199d19911e21185d0970cb3073f</id>
<content type='text'>
Probably should be backported.
</content>
</entry>
<entry>
<title>SF Bug #1407069, Remove extra semi-colon if there is no long long</title>
<updated>2006-01-17T05:27:39Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-01-17T05:27:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=20bad74d6394a0e9ee82d776b8e4b93de352214a'/>
<id>urn:sha1:20bad74d6394a0e9ee82d776b8e4b93de352214a</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>bug [ 1274069 ] bz2module.c compiler warning</title>
<updated>2005-09-03T07:49:53Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2005-09-03T07:49:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a8bcecc872f3463da60fb887c63472e4326dddda'/>
<id>urn:sha1:a8bcecc872f3463da60fb887c63472e4326dddda</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix BZ2File.(x)readlines() for files without a newline.</title>
<updated>2005-08-21T14:16:04Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2005-08-21T14:16:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=33a5f2af59ddcf3f1b0447a8dbd0576fd78de303'/>
<id>urn:sha1:33a5f2af59ddcf3f1b0447a8dbd0576fd78de303</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bug #1194181: bz2.BZ2File didn't handle mode 'U' correctly.</title>
<updated>2005-06-03T19:47:00Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2005-06-03T19:47:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6b95f1d963d3fd2dcc2e84e83b514364e9f52006'/>
<id>urn:sha1:6b95f1d963d3fd2dcc2e84e83b514364e9f52006</id>
<content type='text'>
</content>
</entry>
</feed>
