Home
last modified time | relevance | path

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

/third_party/python/Python/
Dsysmodule.c70 PyObject *sd = tstate->interp->sysdict; in sys_get_object_id()
93 PyObject *sysdict = interp->sysdict; in _PySys_GetObject() local
94 if (sysdict == NULL) { in _PySys_GetObject()
97 return _PyDict_GetItemStringWithError(sysdict, name); in _PySys_GetObject()
120 PyObject *sd = interp->sysdict; in sys_set_object()
2793 res = PyDict_SetItemString(sysdict, key, v); \
2804 _PySys_InitCore(PyThreadState *tstate, PyObject *sysdict) in _PySys_InitCore() argument
2812 SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey)) in _PySys_InitCore()
2984 PyObject *sysdict = interp->sysdict; in _PySys_UpdateConfig() local
3014 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
/third_party/python/patches/
Dcpython_mingw_v3.10.2.patch9734 @@ -2801,7 +2801,7 @@ _PySys_InitCore(PyThreadState *tstate, PyObject *sysdict)