[docs] [issue32374] Document that m_traverse for multi-phase initialized modules can be called with m_state=NULL
report at bugs.python.org
Tue Jan 9 11:11:34 EST 2018
Marcel Plch <gmarcel.plch at gmail.com> added the comment:
I have created a PR at https://github.com/python/cpython/pull/5140
It contains documentation, plus, in --with-pydebug mode, it calls m_traverse to catch easy cases of not handling the m_state==NULL case early.
Python tracker <report at bugs.python.org>
More information about the docs