<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/sha512module.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/sha512module.c?h=v2.5a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/sha512module.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>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>Added the 'ULL' prefix to the unsigned long long literal constants.</title>
<updated>2005-12-14T18:05:44Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2005-12-14T18:05:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c8cc2543bcea295bfd32530fb03bb48a3d1e4ad'/>
<id>urn:sha1:5c8cc2543bcea295bfd32530fb03bb48a3d1e4ad</id>
<content type='text'>
Supresses numerous pages of compiler warnings.
</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>Remove the C99 "ULL" suffix from the 64bit unsigned long constants.</title>
<updated>2005-08-23T21:30:03Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2005-08-23T21:30:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=26292a3af08927e7a14786dd88dfd48f8ca4bd20'/>
<id>urn:sha1:26292a3af08927e7a14786dd88dfd48f8ca4bd20</id>
<content type='text'>
VC++6 doesn't accept them.

This *will* result in tons of the following warning from gcc 3.x:
(gcc "2.96ish" doesn't issue this warning)

 warning: integer constant is too large for "long" type

the code compiles fine regardless.  squashing the gcc warnings
is the next task.

Would someone on windows please confirm that this does or does not
compile and if it does or does not pass the test_hashlib.py unit
tests.
</content>
</entry>
<entry>
<title>[ sf.net patch # 1121611 ]</title>
<updated>2005-08-21T18:45:59Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2005-08-21T18:45:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f21a5f773964d34c7b6deb7e3d753fae2b9c70e2'/>
<id>urn:sha1:f21a5f773964d34c7b6deb7e3d753fae2b9c70e2</id>
<content type='text'>
A new hashlib module to replace the md5 and sha modules.  It adds
support for additional secure hashes such as SHA-256 and SHA-512.  The
hashlib module uses OpenSSL for fast platform optimized
implementations of algorithms when available.  The old md5 and sha
modules still exist as wrappers around hashlib to preserve backwards
compatibility.
</content>
</entry>
</feed>
