]> granicus.if.org Git - python/commit
PyImport_AppendInittab() took a char * as a first argument even though that
authorBrett Cannon <bcannon@gmail.com>
Thu, 2 Apr 2009 03:17:39 +0000 (03:17 +0000)
committerBrett Cannon <bcannon@gmail.com>
Thu, 2 Apr 2009 03:17:39 +0000 (03:17 +0000)
commitc4f90ebea78fab0d45340f4fb4b11298ee3ffdca
treefc910309f7189b79de8bccc0e5390c18d621e83c
parentc730a6a1237a31d0ce89ab8fee2dea9af450a6ee
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.
Doc/c-api/import.rst
Misc/NEWS
Python/import.c