<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/boolobject.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/boolobject.c?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/boolobject.c?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-03-30T11:57:00Z</updated>
<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>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>- bool() called without arguments now returns False rather than</title>
<updated>2003-04-19T18:15:10Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-04-19T18:15:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=aa86e35c524275e1f6cca91c1f8fcfc15e8d8b30'/>
<id>urn:sha1:aa86e35c524275e1f6cca91c1f8fcfc15e8d8b30</id>
<content type='text'>
  raising an exception.  This is consistent with calling the
  constructors for the other builtin types -- called without argument
  they all return the false value of that type.  (SF patch #724135)
  Thanks to Alex Martelli.
</content>
</entry>
<entry>
<title>Make more functions static</title>
<updated>2002-08-06T22:12:52Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2002-08-06T22:12:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=657d22270019f851b752869b4fc951679d55c12a'/>
<id>urn:sha1:657d22270019f851b752869b4fc951679d55c12a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #568124: Add doc string macros.</title>
<updated>2002-06-13T20:33:02Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-06-13T20:33:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f'/>
<id>urn:sha1:14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clean up the layout of the bool_as_number struct initializer.</title>
<updated>2002-04-25T20:01:10Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-04-25T20:01:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c95cc87447f4c9f3f9f0d17481ddaed313bfc7ac'/>
<id>urn:sha1:c95cc87447f4c9f3f9f0d17481ddaed313bfc7ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>As Neal pointed out, bool_print was an order of magnitude too complex.</title>
<updated>2002-04-04T01:00:42Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-04-04T01:00:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=645a22e007a7e5b6da110cc5c5696d336b4c41c6'/>
<id>urn:sha1:645a22e007a7e5b6da110cc5c5696d336b4c41c6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Oops.  Here are the new files.  My apologies.</title>
<updated>2002-04-03T23:01:45Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-04-03T23:01:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5f8203679d113b3963180da6380ebd69f9f8cd44'/>
<id>urn:sha1:5f8203679d113b3963180da6380ebd69f9f8cd44</id>
<content type='text'>
</content>
</entry>
</feed>
