Eric Snow added the comment: Meh, there really isn't any need for _PyImport_GetModuleDict(). I'll drop it. Problem solved! :) ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28411> _______________________________________