[New-bugs-announce] [issue35886] Move PyInterpreterState into Include/internal/pycore_pystate.h

Eric Snow report at bugs.python.org
Fri Feb 1 20:07:08 EST 2019


New submission from Eric Snow <ericsnowcurrently at gmail.com>:

In November Victor created the Include/cpython directory and moved a decent amount of public (but not limited) API there.  This included the PyInterpreterState struct.  I'd like to move it into the "internal" headers since it is somewhat coupled to the internal runtime implementation.  The alternative is extra complexity.  I ran into this while working on another issue.

Note that the docs indicate that all of the struct's fields are private (and I am not aware of any macros leaking fields into the stable ABI).  So moving it should not break anything (yeah, right!), and certainly not the stable ABI (Victor's move would have done that already).

----------
assignee: eric.snow
messages: 334733
nosy: eric.snow, vstinner
priority: normal
severity: normal
stage: needs patch
status: open
title: Move PyInterpreterState into Include/internal/pycore_pystate.h
versions: Python 3.8

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


More information about the New-bugs-announce mailing list