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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue1379> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com