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

Nick Coghlan report at bugs.python.org
Mon Dec 25 19:26:21 EST 2017


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Yep, the requirement for supporting multiple interpreters is just that you either avoid relying on C global state entirely, or else correctly synchronise access to it. Multi-phase initialisation just provides a few nudges in the direction of doing that more consistently.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32374>
_______________________________________


More information about the docs mailing list