Index: Objects/object.c =================================================================== --- Objects/object.c (révision 65930) +++ Objects/object.c (copie de travail) @@ -331,8 +331,11 @@ if (op == NULL) fprintf(stderr, "NULL\n"); else { + PyGILState_STATE gil; fprintf(stderr, "object : "); + gil = PyGILState_Ensure(); (void)PyObject_Print(op, stderr, 0); + PyGILState_Release(gil); /* XXX(twouters) cast refcount to long until %zd is universally available */ fprintf(stderr, "\n"