Searched refs:f_encoding (Results 1 – 3 of 3) sorted by relevance
26 PyObject *f_encoding; member
156 Py_DECREF(f->f_encoding); in fill_file_fields()172 f->f_encoding = Py_None; in fill_file_fields()582 Py_SETREF(file->f_encoding, str); in PyFile_SetEncodingAndErrors()638 Py_XDECREF(f->f_encoding); in file_dealloc()1849 if (f->f_encoding != Py_None) in file_write()1850 encoding = PyString_AS_STRING(f->f_encoding); in file_write()2166 {"encoding", T_OBJECT, OFF(f_encoding), RO,2408 ((PyFileObject *)self)->f_encoding = Py_None; in file_new()2603 PyObject *enc = fobj->f_encoding; in PyFile_WriteObject()
804 enc = ((PyFileObject *)sysstdin)->f_encoding; in tok_stdin_decode()