[issue1379] reloading imported modules sometimes fail with 'parent not in sys.modules' error
Christian Heimes
report at bugs.python.org
Sun Nov 4 13:10:35 CET 2007
Christian Heimes added the comment:
Why are you using PyUnicode_AsUTF32String(parentname)?
PyUnicode_AsString() is the correct method (although it's not yet in the
docs).
The rest looks fine. PyModule_GetName() returns a char* from
PyUnicode_AsString(). Fixed in r58838.
----------
keywords: +py3k
nosy: +tiran
resolution: -> fixed
status: open -> closed
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1379>
__________________________________
More information about the Python-bugs-list
mailing list