Antoine Pitrou added the comment: Yes, the current idiom for calling PyModule_GetState in extension modules isn't safe (because it assumes nothing ever errors out, which can be wrong in the shutdown phase).
---------- nosy: +gvanrossum, ncoghlan, pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20037> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com