]> granicus.if.org Git - python/commit
Issue #15242: Have PyImport_GetMagicTag() return a const char *
authorBrett Cannon <brett@python.org>
Mon, 9 Jul 2012 18:22:12 +0000 (14:22 -0400)
committerBrett Cannon <brett@python.org>
Mon, 9 Jul 2012 18:22:12 +0000 (14:22 -0400)
commit3adc7b75a5f35003b3b91de113b5212748dc1a1d
tree72266f59b330e725759c32ff03e7269e68b8c712
parent903c27c177f54099e0c07e2244b0cce41e7aec54
Issue #15242: Have PyImport_GetMagicTag() return a const char *
defined in sysmodule.c instead of straight out of a Unicode object.

Thanks to Amaury Forgeot d'Arc for noticing the bug and Eric Snow for
writing the patch.
Doc/c-api/import.rst
Python/import.c
Python/sysmodule.c