[Python-Dev] PEP 489: module m_traverse called with NULL module state (original) (raw)
Petr Viktorin encukou at gmail.com
Tue Dec 19 10:53:49 EST 2017
- Previous message (by thread): [Python-Dev] PEP 489: module m_traverse called with NULL module state
- Next message (by thread): [Python-Dev] sqlite3 module needs maintainer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 12/19/2017 04:19 PM, Antoine Pitrou wrote:
On Tue, 19 Dec 2017 16:10:06 +0100 Petr Viktorin <encukou at gmail.com> wrote:
Speaking of which, the doc is not very clear: is PEP 489 required for multi-interpreter support or is PyModuleGetState() sufficient? Yes, it is possible to have proper subinterpreter support without multi-phase init. Thanks. I guess the C API docs need a user-friendly section laying out the various methods for initializing a module, and their various advantages :-)
That, or eventually remove multi-phase init's disadvantages, and have just one way to do it :)
- Previous message (by thread): [Python-Dev] PEP 489: module m_traverse called with NULL module state
- Next message (by thread): [Python-Dev] sqlite3 module needs maintainer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]