Lines Matching defs:context
52 self->traceback = self->cause = self->context = NULL;
90 Py_CLEAR(self->context);
115 Py_VISIT(self->context);
326 PyErr_SetString(PyExc_TypeError, "exception context must be None "
372 BaseException_set_context, PyDoc_STR("exception context")},
414 PyObject *context = _PyBaseExceptionObject_cast(self)->context;
415 Py_XINCREF(context);
416 return context;
419 /* Steals a reference to context */
421 PyException_SetContext(PyObject *self, PyObject *context)
423 Py_XSETREF(_PyBaseExceptionObject_cast(self)->context, context);
1334 e1->context == e2->context);
1860 self->traceback = self->cause = self->context = NULL;
2054 OSError_written_get(PyOSErrorObject *self, void *context)
2064 OSError_written_set(PyOSErrorObject *self, PyObject *arg, void *context)