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")},
837 Py_CLEAR(self->strerror);
855 Py_VISIT(self->strerror);
929 if (self->strerror) {
930 Py_INCREF(self->strerror);
931 PyTuple_SET_ITEM(tuple, 1, self->strerror);
945 else if (self->winerror && self->strerror) {
967 if (self->strerror) {
968 Py_INCREF(self->strerror);
969 PyTuple_SET_ITEM(tuple, 1, self->strerror);
990 {"strerror", T_OBJECT, offsetof(PyWindowsErrorObject, strerror), 0,
991 PyDoc_STR("exception strerror")},