diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-04-02 03:17:39 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-04-02 03:17:39 (GMT) |
commit | c4f90ebea78fab0d45340f4fb4b11298ee3ffdca (patch) | |
tree | fc910309f7189b79de8bccc0e5390c18d621e83c /Misc | |
parent | c730a6a1237a31d0ce89ab8fee2dea9af450a6ee (diff) | |
download | cpython-c4f90ebea78fab0d45340f4fb4b11298ee3ffdca.zip cpython-c4f90ebea78fab0d45340f4fb4b11298ee3ffdca.tar.gz cpython-c4f90ebea78fab0d45340f4fb4b11298ee3ffdca.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -692,6 +692,9 @@ Build C-API ----- +- Issue #1419652: Change the first argument to PyImport_AppendInittab() to + ``const char *`` as the string is stored beyond the call. + - Some PyBytes_* aliases have been removed because they don't exist in 3.x. - Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError |