]> granicus.if.org Git - python/commit
bpo-32374: m_traverse may be called with m_state=NULL (GH-5140)
authorMarcel Plch <gmarcel.plch@gmail.com>
Sat, 17 Mar 2018 05:41:20 +0000 (06:41 +0100)
committerNick Coghlan <ncoghlan@gmail.com>
Sat, 17 Mar 2018 05:41:20 +0000 (15:41 +1000)
commitc2b0b12d1a137ada1023ab7c10b8d9a0249d95f9
tree53b82a27d468a5fc63067d3d1ecbd186388666f9
parentd6e140466142018ddbb7541185348be2b833a2ce
bpo-32374:  m_traverse may be called with m_state=NULL (GH-5140)

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.
Doc/c-api/module.rst
Lib/test/test_importlib/extension/test_loader.py
Misc/NEWS.d/next/C API/2018-01-09-17-03-54.bpo-32374.SwwLoz.rst [new file with mode: 0644]
Modules/_testmultiphase.c
Objects/moduleobject.c