Searched refs:errnomap (Results 1 – 3 of 3) sorted by relevance
162 PyObject *errnomap; member
993 state->errnomap && (PyObject *) type == PyExc_OSError) { in OSError_new()995 newtype = PyDict_GetItemWithError(state->errnomap, myerrno); in OSError_new()2680 if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \ in _PyExc_Init()2761 assert(state->errnomap == NULL); in _PyExc_Init()2762 state->errnomap = PyDict_New(); in _PyExc_Init()2763 if (!state->errnomap) { in _PyExc_Init()2907 Py_CLEAR(state->errnomap); in _PyExc_Fini()
128 Objects/exceptions.c:errnomap static PyObject *errnomap