/external/python/cpython3/Lib/test/ |
test_code_module.py | 28 self.sysmod = stack.enter_context(prepatch) 30 self.sysmod.excepthook = self.sysmod.__excepthook__ 31 del self.sysmod.ps1 32 del self.sysmod.ps2 37 self.assertEqual(self.sysmod.ps1, '>>> ') 38 self.sysmod.ps1 = 'custom1> ' 40 self.assertEqual(self.sysmod.ps1, 'custom1> ') 45 self.assertEqual(self.sysmod.ps2, '... ') 46 self.sysmod.ps1 = 'custom2> [all...] |
/external/python/cpython3/Python/ |
pylifecycle.c | 288 initimport(PyInterpreterState *interp, PyObject *sysmod) 327 value = PyObject_CallMethod(importlib, "_install", "OO", sysmod, impmod); 755 PyObject *sysmod; local 756 err = _PySys_BeginInit(&sysmod); 761 interp->sysdict = PyModule_GetDict(sysmod); 768 _PyImport_FixupBuiltin(sysmod, "sys", modules); 818 err = initimport(interp, sysmod); 1358 PyObject *bimod, *sysmod; local [all...] |
sysmodule.c | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
pythonrun.c | 145 PyObject *bimod, *sysmod;
local 227 sysmod = _PySys_Init();
228 if (sysmod == NULL)
230 interp->sysdict = PyModule_GetDict(sysmod);
581 PyObject *bimod, *sysmod;
local 610 sysmod = _PyImport_FindExtension("sys", "sys");
611 if (bimod != NULL && sysmod != NULL) {
612 interp->sysdict = PyModule_GetDict(sysmod);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
pythonrun.c | 139 PyObject *bimod, *sysmod;
local 215 sysmod = _PySys_Init();
216 if (sysmod == NULL)
218 interp->sysdict = PyModule_GetDict(sysmod);
568 PyObject *bimod, *sysmod;
local 597 sysmod = _PyImport_FindExtension("sys", "sys");
598 if (bimod != NULL && sysmod != NULL) {
599 interp->sysdict = PyModule_GetDict(sysmod);
[all...] |
/external/python/cpython2/Python/ |
pythonrun.c | 166 PyObject *bimod, *sysmod; local 248 sysmod = _PySys_Init(); 249 if (sysmod == NULL) 251 interp->sysdict = PyModule_GetDict(sysmod); 589 PyObject *bimod, *sysmod; local 618 sysmod = _PyImport_FindExtension("sys", "sys"); 619 if (bimod != NULL && sysmod != NULL) { 620 interp->sysdict = PyModule_GetDict(sysmod); [all...] |
/external/python/cpython3/Include/ |
pylifecycle.h | 168 PyAPI_FUNC(_PyInitError) _PySys_BeginInit(PyObject **sysmod); variable
|