<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/cStringIO.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/Modules/cStringIO.c?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/cStringIO.c?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-03-30T11:58:57Z</updated>
<entry>
<title>Remove unnecessary casts from type object initializers.</title>
<updated>2006-03-30T11:58:57Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-03-30T11:58:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d37ac69ee5abfbdcf069273f9358d581e196bc22'/>
<id>urn:sha1:d37ac69ee5abfbdcf069273f9358d581e196bc22</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch #1359365: cStringIO.StringIO.isatty() will raise a ValueError</title>
<updated>2006-03-15T22:13:13Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2006-03-15T22:13:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=197e8321c659d8dd22851363bbcebd98092ed2c9'/>
<id>urn:sha1:197e8321c659d8dd22851363bbcebd98092ed2c9</id>
<content type='text'>
now if close() has been called before (like file and StringIO.StringIO do)
</content>
</entry>
<entry>
<title>SF #1444030: Fix several potential defects found by Coverity.</title>
<updated>2006-03-07T15:39:21Z</updated>
<author>
<name>Hye-Shik Chang</name>
<email>hyeshik@gmail.com</email>
</author>
<published>2006-03-07T15:39:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4af5c8cee4885df70884a58e2e74c48984bbe7c2'/>
<id>urn:sha1:4af5c8cee4885df70884a58e2e74c48984bbe7c2</id>
<content type='text'>
(reviewed by Neal Norwitz)
</content>
</entry>
<entry>
<title>Remove UNLESS.</title>
<updated>2006-03-01T23:10:49Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-03-01T23:10:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5df2e614e651d91bd433d6de5cd90b304aead70c'/>
<id>urn:sha1:5df2e614e651d91bd433d6de5cd90b304aead70c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Silence gcc (4.0.x) warning about use of uninitialized value.</title>
<updated>2006-03-01T22:15:15Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-03-01T22:15:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f86d1e810d5827c46f3d7fc519e308e310406941'/>
<id>urn:sha1:f86d1e810d5827c46f3d7fc519e308e310406941</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use Py_ssize_t for counts and sizes.</title>
<updated>2006-02-16T14:30:23Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-02-16T14:30:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ad0a4629beac0600c4c4c3167b0d68be57ca674e'/>
<id>urn:sha1:ad0a4629beac0600c4c4c3167b0d68be57ca674e</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>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>Patches #1298449 and #1298499: Add some missing checks for error</title>
<updated>2005-09-22T09:19:01Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2005-09-22T09:19:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=10402a306f613b37c96b51771e7ad0e1cf60a3a4'/>
<id>urn:sha1:10402a306f613b37c96b51771e7ad0e1cf60a3a4</id>
<content type='text'>
returns in cStringIO.c.  Thanks to Andrew Bennetts.

This must be a backport candidate.
</content>
</entry>
</feed>
