[Python-ideas] PEP 432: Simplifying the CPython startup sequence

Eric Snow ericsnowcurrently at gmail.com
Fri Dec 28 06:50:28 CET 2012


On Thu, Dec 27, 2012 at 9:29 AM, Benjamin Peterson <benjamin at python.org> wrote:
> Nick Coghlan <ncoghlan at ...> writes:
>>
>> PEP: 432
>> Title: Simplifying the CPython startup sequence
> b
> In general, it looks quite nice. While you're creating new initialization APIs,
> it would be nice if they could support (or at least be future compatible with) a
> "interpreter context". If we ever get around to killing at the c-level global
> state in the interpreter, such a struct would hold the state. For example, it
> would be nice if instead of those Py_* option variables, members of a structure
> on PyInterpreter were used.

This is exactly what I was wondering, a la subinterpreter support.

-eric



More information about the Python-ideas mailing list