[Python-Dev] Making PyInterpreterState an opaque type

Eric Snow ericsnowcurrently at gmail.com
Mon Feb 18 14:27:55 EST 2019


On Sat, Feb 16, 2019 at 3:47 PM Antoine Pitrou <solipsis at pitrou.net> wrote:
> On Sat, 16 Feb 2019 14:34:46 -0800
> Steve Dower <steve.dower at python.org> wrote:
> > Which seems to suggest that the answer to "which members are important
> > to expose?" is "probably none".
>
> That sounds intuitive. But we don't know what kind of hacks some
> extension authors might do, for legitimate reasons...
>
> (perhaps some gevent-like framework needs access to the interpreter
> state?)

In those cases either we will expose accessor functions in the C-API
or they can define Py_BUILD_CORE.

-eric


More information about the Python-Dev mailing list