Searched refs:gc_module (Results 1 – 1 of 1) sorted by relevance
55 _enable_gc(int need_to_reenable_gc, PyObject *gc_module) in _enable_gc() argument63 result = _PyObject_CallMethodId(gc_module, &PyId_enable, NULL); in _enable_gc()559 PyObject *gc_module = NULL; in subprocess_fork_exec() local601 gc_module = PyImport_ImportModule("gc"); in subprocess_fork_exec()602 if (gc_module == NULL) in subprocess_fork_exec()604 result = _PyObject_CallMethodId(gc_module, &PyId_isenabled, NULL); in subprocess_fork_exec()606 Py_DECREF(gc_module); in subprocess_fork_exec()612 Py_DECREF(gc_module); in subprocess_fork_exec()615 result = _PyObject_CallMethodId(gc_module, &PyId_disable, NULL); in subprocess_fork_exec()617 Py_DECREF(gc_module); in subprocess_fork_exec()[all …]