27 Apr
2019
27 Apr
'19
3:51 p.m.
A response from Jeroen Demeyer (https://bugs.python.org/msg340971):
Changing *every* C API function to include a state parameter looks very cumbersome. Another alternative would be to store the interpreter state in every Python object (or every class, that would be sufficient). That way, you would only need to pass context to C API functions which do not take a Python object as argument.