<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/_hashopenssl.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/_hashopenssl.c?h=v2.5a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_hashopenssl.c?h=v2.5a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-03-02T05:05:17Z</updated>
<entry>
<title>Properly fix Py_SAFE_DOWNCAST-triggerd bugs.</title>
<updated>2006-03-02T05:05:17Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-03-02T05:05:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=83d1266cbd2d9fca9289f7ed69784aa285a006eb'/>
<id>urn:sha1:83d1266cbd2d9fca9289f7ed69784aa285a006eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Py_SAFE_DOWNCAST isn't quite doing the right thing for going from Py_ssize_t</title>
<updated>2006-03-02T04:48:27Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-03-02T04:48:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=369092be43cf6857aff58238dd68d00fab00850e'/>
<id>urn:sha1:369092be43cf6857aff58238dd68d00fab00850e</id>
<content type='text'>
to an unsigned int (and back again) on 64-bit machines, even though the
actual value of the Py_ssize_t variable is way below 31 bits. I suspect
compiler-error.
</content>
</entry>
<entry>
<title>Make Py_ssize_t-clean.</title>
<updated>2006-03-01T21:50:07Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-03-01T21:50:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9bc844e7be40b6d947d0f8fa4b2b7d17cb17a091'/>
<id>urn:sha1:9bc844e7be40b6d947d0f8fa4b2b7d17cb17a091</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>Fix icc warnings: HASH_OBJ_CONSTRUCTOR was not defined and using #if HASH_OBJ_CONSTRUCTOR</title>
<updated>2006-01-08T01:08:09Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-01-08T01:08:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e4ab5f5531d63023ccd2f99ac5e16945e1d51950'/>
<id>urn:sha1:e4ab5f5531d63023ccd2f99ac5e16945e1d51950</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix icc warnings: extra semi-colon and signed vs unsigned</title>
<updated>2006-01-07T21:20:24Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-01-07T21:20:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f0459142d5ee827016d4135762d00c4d5744c6f2'/>
<id>urn:sha1:f0459142d5ee827016d4135762d00c4d5744c6f2</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>[ 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>
