Serhiy Storchaka added the comment: May be include this in Py_BEGIN_ALLOW_THREADS / Py_END_ALLOW_THREADS? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue23524> _______________________________________