STINNER Victor <vstin...@python.org> added the comment:
The question came up while I reviewed PR 18608 which ports the audioop extension module to multiphase initialization (PEP 489): https://github.com/python/cpython/pull/18608/files#r386061746 Petr Viktorin referred to m_clear() documentation which says that md_state *can* be NULL when m_clear() is called: https://docs.python.org/3/c-api/module.html#c.PyModuleDef.m_clear ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39824> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com