Searched refs:ZONEINFO_WEAK_CACHE (Results 1 – 1 of 1) sorted by relevance
85 static PyObject *ZONEINFO_WEAK_CACHE = NULL; variable245 return ZONEINFO_WEAK_CACHE; in get_weak_cache()2505 if (ZONEINFO_WEAK_CACHE == NULL) { in initialize_caches()2506 ZONEINFO_WEAK_CACHE = new_weak_cache(); in initialize_caches()2509 Py_INCREF(ZONEINFO_WEAK_CACHE); in initialize_caches()2512 if (ZONEINFO_WEAK_CACHE == NULL) { in initialize_caches()2614 if (ZONEINFO_WEAK_CACHE != NULL && Py_REFCNT(ZONEINFO_WEAK_CACHE) > 1) { in module_free()2615 Py_DECREF(ZONEINFO_WEAK_CACHE); in module_free()2617 Py_CLEAR(ZONEINFO_WEAK_CACHE); in module_free()