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.c157 Py_DECREF(f->f_errors); in fill_file_fields()
174 f->f_errors = Py_None; in fill_file_fields()
583 Py_SETREF(file->f_errors, oerrors); in PyFile_SetEncodingAndErrors()
639 Py_XDECREF(f->f_errors); in file_dealloc()
1853 if (f->f_errors != Py_None) in file_write()
1854 errors = PyString_AS_STRING(f->f_errors); in file_write()
2168 {"errors", T_OBJECT, OFF(f_errors), RO,
2410 ((PyFileObject *)self)->f_errors = Py_None; in file_new()
2614 char *errors = fobj->f_errors == Py_None ? in PyFile_WriteObject()
2615 "strict" : PyString_AS_STRING(fobj->f_errors); in PyFile_WriteObject()