Home | History | Annotate | Download | only in Objects

Lines Matching defs:strerror

588  * except IOError, (errno, strerror):

598 PyObject *myerrno = NULL, *strerror = NULL, *filename = NULL;
609 &myerrno, &strerror, &filename)) {
616 Py_CLEAR(self->strerror); /* replacing */
617 self->strerror = strerror;
618 Py_INCREF(self->strerror);
640 Py_CLEAR(self->strerror);
658 Py_VISIT(self->strerror);
697 if (self->strerror) {
698 Py_INCREF(self->strerror);
699 PyTuple_SET_ITEM(tuple, 1, self->strerror);
713 else if (self->myerrno && self->strerror) {
735 if (self->strerror) {
736 Py_INCREF(self->strerror);
737 PyTuple_SET_ITEM(tuple, 1, self->strerror);
758 {"strerror", T_OBJECT, offsetof(PyEnvironmentErrorObject, strerror), 0,
759 PyDoc_STR("exception strerror")},
836 Py_CLEAR(self->strerror);
854 Py_VISIT(self->strerror);
928 if (self->strerror) {
929 Py_INCREF(self->strerror);
930 PyTuple_SET_ITEM(tuple, 1, self->strerror);
944 else if (self->winerror && self->strerror) {
966 if (self->strerror) {
967 Py_INCREF(self->strerror);
968 PyTuple_SET_ITEM(tuple, 1, self->strerror);
989 {"strerror", T_OBJECT, offsetof(PyWindowsErrorObject, strerror), 0,
990 PyDoc_STR("exception strerror")},