On 12/19/2017 04:19 PM, Antoine Pitrou wrote:
On Tue, 19 Dec 2017 16:10:06 +0100
Petr Viktorin <encu...@gmail.com> wrote:
Speaking of which, the doc is not very clear: is PEP 489 required for
multi-interpreter support or is PyModule_GetState() 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 :)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com