Searched refs:f_stderr (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | _warnings.c | 252 PyObject *f_stderr; in show_warning() local 262 f_stderr = PySys_GetObject("stderr"); in show_warning() 263 if (f_stderr == NULL) { in show_warning() 270 PyFile_WriteObject(filename, f_stderr, Py_PRINT_RAW); in show_warning() 271 PyFile_WriteString(lineno_str, f_stderr); in show_warning() 272 PyFile_WriteObject(name, f_stderr, Py_PRINT_RAW); in show_warning() 273 PyFile_WriteString(": ", f_stderr); in show_warning() 274 PyFile_WriteObject(text, f_stderr, Py_PRINT_RAW); in show_warning() 275 PyFile_WriteString("\n", f_stderr); in show_warning() 285 PyFile_WriteString(source_line_str, f_stderr); in show_warning() [all …]
|
/external/python/cpython3/Python/ |
D | _warnings.c | 344 PyObject *f_stderr; in show_warning() local 355 f_stderr = _PySys_GetObjectId(&PyId_stderr); in show_warning() 356 if (f_stderr == NULL) { in show_warning() 362 if (PyFile_WriteObject(filename, f_stderr, Py_PRINT_RAW) < 0) in show_warning() 364 if (PyFile_WriteString(lineno_str, f_stderr) < 0) in show_warning() 366 if (PyFile_WriteObject(name, f_stderr, Py_PRINT_RAW) < 0) in show_warning() 368 if (PyFile_WriteString(": ", f_stderr) < 0) in show_warning() 370 if (PyFile_WriteObject(text, f_stderr, Py_PRINT_RAW) < 0) in show_warning() 372 if (PyFile_WriteString("\n", f_stderr) < 0) in show_warning() 400 PyFile_WriteObject(sourceline, f_stderr, Py_PRINT_RAW); in show_warning() [all …]
|