[issue39660] Contextvars: Optional callbacks on state change

Yury Selivanov report at bugs.python.org
Thu Feb 20 02:42:06 EST 2020


Yury Selivanov <yselivanov at gmail.com> added the comment:

> Unfortunately, if Python is used as a frontend for a native libray (eg accessed via ctypes), and in case that the state of interest is managed in the native library, contextvar API is insufficient.

Please elaborate with a clearer example.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39660>
_______________________________________


More information about the Python-bugs-list mailing list