Lines Matching defs:strerror
582 * except IOError, (errno, strerror):
592 PyObject *myerrno = NULL, *strerror = NULL, *filename = NULL;
603 &myerrno, &strerror, &filename)) {
609 Py_INCREF(strerror);
610 Py_XSETREF(self->strerror, strerror);
630 Py_CLEAR(self->strerror);
648 Py_VISIT(self->strerror);
687 if (self->strerror) {
688 Py_INCREF(self->strerror);
689 PyTuple_SET_ITEM(tuple, 1, self->strerror);
703 else if (self->myerrno && self->strerror) {
725 if (self->strerror) {
726 Py_INCREF(self->strerror);
727 PyTuple_SET_ITEM(tuple, 1, self->strerror);
748 {"strerror", T_OBJECT, offsetof(PyEnvironmentErrorObject, strerror), 0,
749 PyDoc_STR("exception strerror")},
827 Py_CLEAR(self->strerror);
845 Py_VISIT(self->strerror);
918 if (self->strerror) {
919 Py_INCREF(self->strerror);
920 PyTuple_SET_ITEM(tuple, 1, self->strerror);
934 else if (self->winerror && self->strerror) {
956 if (self->strerror) {
957 Py_INCREF(self->strerror);
958 PyTuple_SET_ITEM(tuple, 1, self->strerror);
979 {"strerror", T_OBJECT, offsetof(PyWindowsErrorObject, strerror), 0,
980 PyDoc_STR("exception strerror")},