Searched refs:tl_context (Results 1 – 1 of 1) sorted by relevance
1516 PyObject *tl_context; in current_context_from_dict() local1526 tl_context = PyDict_GetItemWithError(dict, tls_context_key); in current_context_from_dict()1527 if (tl_context != NULL) { in current_context_from_dict()1529 CONTEXT_CHECK(tl_context); in current_context_from_dict()1537 tl_context = context_copy(default_context_template, NULL); in current_context_from_dict()1538 if (tl_context == NULL) { in current_context_from_dict()1541 CTX(tl_context)->status = 0; in current_context_from_dict()1543 if (PyDict_SetItem(dict, tls_context_key, tl_context) < 0) { in current_context_from_dict()1544 Py_DECREF(tl_context); in current_context_from_dict()1547 Py_DECREF(tl_context); in current_context_from_dict()[all …]