<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/complexobject.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/complexobject.c?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/complexobject.c?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-07-16T02:22:30Z</updated>
<entry>
<title>Use sizeof(buffer) instead of duplicating the constants to ensure they won't</title>
<updated>2006-07-16T02:22:30Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-07-16T02:22:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4b0a315c3179c1785fcec6857ed4a69417fd7ae8'/>
<id>urn:sha1:4b0a315c3179c1785fcec6857ed4a69417fd7ae8</id>
<content type='text'>
be wrong.

The real change is to pass (bufsz - 1) to PyOS_ascii_formatd and 1
to strncat.  strncat copies n+1 bytes from src (not dest).

Reported by Klocwork #58.
</content>
</entry>
<entry>
<title>Correctly allocate complex types with tp_alloc. (bug #1498638)</title>
<updated>2006-06-01T08:27:32Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-06-01T08:27:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6b50c63a23227d542b094432525d2f857be648ef'/>
<id>urn:sha1:6b50c63a23227d542b094432525d2f857be648ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>C++ compiler cleanup: bunch-o-casts, plus use of unsigned loop index var in a couple places</title>
<updated>2006-04-18T00:35:43Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2006-04-18T00:35:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=429433b30bbfb957c38b1bc0b699cda2fb30db1c'/>
<id>urn:sha1:429433b30bbfb957c38b1bc0b699cda2fb30db1c</id>
<content type='text'>
</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>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>
<entry>
<title>patch [ 1118729 ] Error in representation of complex numbers(again)</title>
<updated>2005-09-16T06:42:26Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2005-09-16T06:42:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c404ff2f2d711fdb0f9adf096b4ffa01891fd3d4'/>
<id>urn:sha1:c404ff2f2d711fdb0f9adf096b4ffa01891fd3d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bug #1079011:  Incorrect error message (somewhat)</title>
<updated>2004-12-19T20:45:20Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-12-19T20:45:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5d01aa4f6ad6d257c852d8dd454b7af9dcdd6d77'/>
<id>urn:sha1:5d01aa4f6ad6d257c852d8dd454b7af9dcdd6d77</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix repr for negative imaginary part. Fixes #1013908.</title>
<updated>2004-08-22T21:09:15Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2004-08-22T21:09:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=70aa1f20951a443dcd6387a23a8835bde596055f'/>
<id>urn:sha1:70aa1f20951a443dcd6387a23a8835bde596055f</id>
<content type='text'>
</content>
</entry>
</feed>
