New submission from Eric Snow <ericsnowcurren...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue35886>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to