Home
last modified time | relevance | path

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

/third_party/python/Python/
Dbltinmodule.c2124 PyObject *stdout_encoding = NULL, *stdout_errors = NULL; in builtin_input_impl() local
2151 stdout_encoding = _PyObject_GetAttrId(fout, &PyId_encoding); in builtin_input_impl()
2153 if (!stdout_encoding || !stdout_errors || in builtin_input_impl()
2154 !PyUnicode_Check(stdout_encoding) || in builtin_input_impl()
2159 stdout_encoding_str = PyUnicode_AsUTF8(stdout_encoding); in builtin_input_impl()
2168 Py_CLEAR(stdout_encoding); in builtin_input_impl()
2222 Py_XDECREF(stdout_encoding); in builtin_input_impl()
Dsysmodule.c630 PyObject *stdout_encoding = NULL; in sys_displayhook_unencodable() local
635 stdout_encoding = _PyObject_GetAttrId(outf, &PyId_encoding); in sys_displayhook_unencodable()
636 if (stdout_encoding == NULL) in sys_displayhook_unencodable()
638 stdout_encoding_str = PyUnicode_AsUTF8(stdout_encoding); in sys_displayhook_unencodable()
681 Py_XDECREF(stdout_encoding); in sys_displayhook_unencodable()