[issue32374] Document that m_traverse for multi-phase initialized modules can be called with m_state=NULL

Marcel Plch 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>
<https://bugs.python.org/issue32374>
_______________________________________


More information about the Python-bugs-list mailing list