Home
last modified time | relevance | path

Searched refs:sysdict (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Python/
Dsysmodule.c69 PyObject *sd = tstate->interp->sysdict; in sys_get_object_id()
92 PyObject *sysdict = interp->sysdict; in _PySys_GetObject() local
93 if (sysdict == NULL) { in _PySys_GetObject()
96 return _PyDict_GetItemStringWithError(sysdict, name); in _PySys_GetObject()
119 PyObject *sd = interp->sysdict; in sys_set_object()
2749 res = PyDict_SetItemString(sysdict, key, v); \
2760 _PySys_InitCore(PyThreadState *tstate, PyObject *sysdict) in _PySys_InitCore() argument
2768 SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey)) in _PySys_InitCore()
2940 PyObject *sysdict = interp->sysdict; in _PySys_UpdateConfig() local
2970 PyDict_SetItemString(sysdict, "pycache_prefix", Py_None); in _PySys_UpdateConfig()
[all …]
Dpylifecycle.c1315 if (PyDict_SetItemString(interp->sysdict, *p, Py_None) < 0) { in finalize_modules_delete_special()
1325 PyObject *value = _PyDict_GetItemStringWithError(interp->sysdict, in finalize_modules_delete_special()
1333 if (PyDict_SetItemString(interp->sysdict, name, value) < 0) { in finalize_modules_delete_special()
1457 if (dict == interp->builtins || dict == interp->sysdict) { in finalize_modules_clear_weaklist()
1477 _PyModule_ClearDict(interp->sysdict); in finalize_clear_sys_builtins_dict()
2585 if (interp->sysdict != NULL) { in _Py_DumpExtensionModules()
2587 while (PyDict_Next(interp->sysdict, &pos, &key, &value)) { in _Py_DumpExtensionModules()
Dpystate.c335 PyDict_Clear(interp->sysdict); in interpreter_clear()
337 Py_CLEAR(interp->sysdict); in interpreter_clear()
D_warnings.c851 globals = tstate->interp->sysdict; in setup_context()
/third_party/python/Modules/
Dmain.c162 PyObject *sysdict = interp->sysdict; in pymain_sys_path_add_path0() local
163 if (sysdict != NULL) { in pymain_sys_path_add_path0()
164 sys_path = _PyDict_GetItemIdWithError(sysdict, &PyId_path); in pymain_sys_path_add_path0()
/third_party/python/Include/internal/
Dpycore_interp.h238 PyObject *sysdict; member