Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dpylifecycle.c791 PyObject *pstderr = PyFile_NewStdPrinter(fileno(stderr)); in _Py_InitializeCore_impl() local
792 if (pstderr == NULL) in _Py_InitializeCore_impl()
794 _PySys_SetObjectId(&PyId_stderr, pstderr); in _Py_InitializeCore_impl()
795 PySys_SetObject("__stderr__", pstderr); in _Py_InitializeCore_impl()
796 Py_DECREF(pstderr); in _Py_InitializeCore_impl()
1439 PyObject *pstderr; in new_interpreter() local
1443 pstderr = PyFile_NewStdPrinter(fileno(stderr)); in new_interpreter()
1444 if (pstderr == NULL) { in new_interpreter()
1447 _PySys_SetObjectId(&PyId_stderr, pstderr); in new_interpreter()
1448 PySys_SetObject("__stderr__", pstderr); in new_interpreter()
[all …]