PyImport_AppendInittab() took a char * as a first argument even though that
commitd865a8b327859b9e0ba8ab06435047ec85c61407
authorbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Thu, 2 Apr 2009 03:17:39 +0000 (2 03:17 +0000)
committerbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Thu, 2 Apr 2009 03:17:39 +0000 (2 03:17 +0000)
tree796353ea8a59ee5cb3e0b1ff8c33d77c42752bc4
parent461186f4b0c61605f5aa53254da9028606b78442
PyImport_AppendInittab() took a char * as a first argument even though that
string was stored beyond the life of the call. Changed the signature to be
const char * to help make this point.

Closes issue #1419652.

git-svn-id: http://svn.python.org/projects/python/trunk@71031 6015fed2-1504-0410-9fe1-9d1591cc4771
Doc/c-api/import.rst
Misc/NEWS
Python/import.c