/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
sysmodule.c | 1021 static PyObject *warnoptions = NULL;
variable 1026 if (warnoptions == NULL || !PyList_Check(warnoptions))
1028 PyList_SetSlice(warnoptions, 0, PyList_GET_SIZE(warnoptions), NULL);
1036 if (warnoptions == NULL || !PyList_Check(warnoptions)) {
1037 Py_XDECREF(warnoptions);
1038 warnoptions = PyList_New(0);
1039 if (warnoptions == NULL) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
sysmodule.c | 1003 static PyObject *warnoptions = NULL;
variable 1008 if (warnoptions == NULL || !PyList_Check(warnoptions))
1010 PyList_SetSlice(warnoptions, 0, PyList_GET_SIZE(warnoptions), NULL);
1018 if (warnoptions == NULL || !PyList_Check(warnoptions)) {
1019 Py_XDECREF(warnoptions);
1020 warnoptions = PyList_New(0);
1021 if (warnoptions == NULL) [all...] |
/external/python/cpython2/Python/ |
sysmodule.c | 1021 static PyObject *warnoptions = NULL; variable 1026 if (warnoptions == NULL || !PyList_Check(warnoptions)) 1028 PyList_SetSlice(warnoptions, 0, PyList_GET_SIZE(warnoptions), NULL); 1036 if (warnoptions == NULL || !PyList_Check(warnoptions)) { 1037 Py_XDECREF(warnoptions); 1038 warnoptions = PyList_New(0); 1039 if (warnoptions == NULL [all...] |
/external/python/cpython3/Lib/test/libregrtest/ |
save_env.py | 61 'sys.warnoptions', 173 return id(sys.warnoptions), sys.warnoptions, sys.warnoptions[:] 175 sys.warnoptions = saved_options[1] 176 sys.warnoptions[:] = saved_options[2]
|
/external/python/cpython3/Python/ |
sysmodule.c | 53 _Py_IDENTIFIER(warnoptions); variable 1759 PyObject *warnoptions = _PySys_GetObjectId(&PyId_warnoptions); local 1792 PyObject *warnoptions = _PySys_GetObjectId(&PyId_warnoptions); local 1801 PyObject *warnoptions = get_warnoptions(); local 1836 PyObject *warnoptions = _PySys_GetObjectId(&PyId_warnoptions); local [all...] |
pylifecycle.c | 973 if (interp->config.warnoptions != NULL && 974 PyList_Size(interp->config.warnoptions) > 0) [all...] |
/external/python/cpython3/Programs/ |
_testembed.c | 207 "print('sys.warnoptions:', sys.warnoptions); " 487 static wchar_t* warnoptions[2] = { local 491 config.nwarnoption = Py_ARRAY_LENGTH(warnoptions); 492 config.warnoptions = warnoptions;
|
/external/python/cpython3/Lib/unittest/test/ |
test_program.py | 233 warnoptions = sys.warnoptions[:] 235 sys.warnoptions[:] = [] 240 sys.warnoptions[:] = ['somevalue'] 246 sys.warnoptions[:] = warnoptions
|
/external/python/cpython3/Include/ |
pystate.h | 58 wchar_t **warnoptions; /* Warnings options */ member in struct:__anon37120 104 PyObject *warnoptions; /* sys.warnoptions list, can be NULL */ member in struct:__anon37121
|
/external/python/cpython3/Modules/ |
main.c | 438 wchar_t **warnoptions; /* -W options */ member in struct:__anon37400 576 clear_wstrlist(cmdline->nwarnoption, cmdline->warnoptions); 578 cmdline->warnoptions = NULL; 864 &cmdline->warnoptions, 971 &config->warnoptions, 998 * the `sys.warnoptions` list. Since the warnings module works on the basis 1005 &config->warnoptions, 1021 cmdline->warnoptions); 1039 &config->warnoptions, [all...] |
/external/python/cpython3/Lib/unittest/ |
main.py | 84 if warnings is None and not sys.warnoptions:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
warnings.py | 106 # Helper to process -W options passed via sys.warnoptions
388 _processoptions(sys.warnoptions)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
warnings.py | 102 # Helper to process -W options passed via sys.warnoptions
384 _processoptions(sys.warnoptions)
|
/external/python/cpython2/Lib/ |
warnings.py | 124 # Helper to process -W options passed via sys.warnoptions 409 _processoptions(sys.warnoptions)
|
subprocess.py | 138 settings in sys.flags and sys.warnoptions.""" 159 for opt in sys.warnoptions: [all...] |
/external/python/cpython3/Lib/ |
warnings.py | 204 # Helper to process -W options passed via sys.warnoptions 554 _processoptions(sys.warnoptions)
|
subprocess.py | 258 settings in sys.flags, sys.warnoptions and sys._xoptions.""" 285 warnopts = sys.warnoptions[:] [all...] |
/external/python/cpython2/Lib/idlelib/ |
PyShell.py | 413 w = ['-W' + s for s in sys.warnoptions] [all...] |
/external/python/cpython3/Lib/idlelib/ |
pyshell.py | 413 w = ['-W' + s for s in sys.warnoptions] [all...] |