[3.6] bpo-32374: m_traverse may be called with m_state=NULL (GH-5140) by miss-islington · Pull Request #6129 · python/cpython

@miss-islington

Multi-phase initialized modules allow m_traverse to be called while the
module is still being initialized, so module authors may need to account
for that.
(cherry picked from commit c2b0b12)

Co-authored-by: Marcel Plch <gmarcel.plch@gmail.com>

ncoghlan