STINNER Victor added the comment: I created a specific issue for PyThread_create_key() of Python/thread_pthread.h: issue #22206. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue22156> _______________________________________