[New-bugs-announce] [issue43503] [subinterpreters] PyObject statics exposed in the limited API break isolation.
Eric Snow
report at bugs.python.org
Mon Mar 15 14:53:43 EDT 2021
New submission from Eric Snow <ericsnowcurrently at gmail.com>:
In the limited C-API we expose the following static PyObject variables:
* 5 singletons
* ~70 exception types
* ~70 other types
Since they are part of the limited API, they have a direct effect on the stable ABI.
The problem is that these objects should not be shared between interpreters. There are a number of possible solutions for isolating the objects, but the big constraint is that the solution cannot break the stable ABI.
----------
components: C API
messages: 388759
nosy: eric.snow
priority: normal
severity: normal
stage: needs patch
status: open
title: [subinterpreters] PyObject statics exposed in the limited API break isolation.
type: behavior
versions: Python 3.10
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43503>
_______________________________________
More information about the New-bugs-announce
mailing list