Home
last modified time | relevance | path

Searched refs:warnoptions (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Python/
Dsysmodule.c1021 static PyObject *warnoptions = NULL; variable
1026 if (warnoptions == NULL || !PyList_Check(warnoptions)) in PySys_ResetWarnOptions()
1028 PyList_SetSlice(warnoptions, 0, PyList_GET_SIZE(warnoptions), NULL); in PySys_ResetWarnOptions()
1036 if (warnoptions == NULL || !PyList_Check(warnoptions)) { in PySys_AddWarnOption()
1037 Py_XDECREF(warnoptions); in PySys_AddWarnOption()
1038 warnoptions = PyList_New(0); in PySys_AddWarnOption()
1039 if (warnoptions == NULL) in PySys_AddWarnOption()
1044 PyList_Append(warnoptions, str); in PySys_AddWarnOption()
1052 return (warnoptions != NULL && (PyList_Size(warnoptions) > 0)) ? 1 : 0; in PySys_HasWarnOptions()
1482 if (warnoptions == NULL) { in _PySys_Init()
[all …]
/external/python/cpython2/Doc/c-api/
Dsys.rst78 Reset :data:`sys.warnoptions` to an empty list.
82 Append *s* to :data:`sys.warnoptions`.
/external/python/cpython2/Lib/
Dwarnings.py406 _processoptions(sys.warnoptions)
Dsubprocess.py155 for opt in sys.warnoptions:
/external/python/cpython2/Doc/library/
Dwarnings.rst161 :option:`-W` options without interpretation in ``sys.warnoptions``; the
Dsys.rst1063 .. data:: warnoptions
/external/python/cpython2/Lib/idlelib/
DPyShell.py413 w = ['-W' + s for s in sys.warnoptions]
/external/python/cpython2/Doc/tutorial/
Dmodules.rst303 'version', 'version_info', 'warnoptions']