◐ Shell
clean mode source ↗

Message 388759 - Python tracker

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.