Graham Dumpleton added the comment: I always use PyImport_GetModuleDict(). So long as that isn't going away I should be good. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28411> _______________________________________