Jeroen Demeyer <j.deme...@ugent.be> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36710>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to