Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Dfileobject.h27 PyObject *f_errors; member
/external/python/cpython2/Objects/
Dfileobject.c152 Py_DECREF(f->f_errors); in fill_file_fields()
169 f->f_errors = Py_None; in fill_file_fields()
578 Py_SETREF(file->f_errors, oerrors); in PyFile_SetEncodingAndErrors()
629 Py_XDECREF(f->f_errors); in file_dealloc()
1832 if (f->f_errors != Py_None) in file_write()
1833 errors = PyString_AS_STRING(f->f_errors); in file_write()
2147 {"errors", T_OBJECT, OFF(f_errors), RO,
2365 ((PyFileObject *)self)->f_errors = Py_None; in file_new()
2569 char *errors = fobj->f_errors == Py_None ? in PyFile_WriteObject()
2570 "strict" : PyString_AS_STRING(fobj->f_errors); in PyFile_WriteObject()