Lines Matching refs:DbmError
49 { PyErr_SetString(DbmError, "GDBM object has already been closed"); \
54 static PyObject *DbmError; variable
78 PyErr_SetFromErrno(DbmError); in newdbmobject()
80 PyErr_SetString(DbmError, gdbm_strerror(gdbm_errno)); in newdbmobject()
101 PyErr_SetString(DbmError, "GDBM object has already been closed"); in dbm_length()
132 PyErr_SetString(DbmError, in dbm_subscript()
182 PyErr_SetString(DbmError, in dbm_ass_sub()
202 PyErr_SetFromErrno(DbmError); in dbm_ass_sub()
204 PyErr_SetString(DbmError, in dbm_ass_sub()
316 PyErr_SetString(DbmError, in dbm_contains()
440 PyErr_SetFromErrno(DbmError); in _gdbm_gdbm_reorganize_impl()
442 PyErr_SetString(DbmError, gdbm_strerror(gdbm_errno)); in _gdbm_gdbm_reorganize_impl()
580 PyErr_SetString(DbmError, in dbmopen_impl()
605 PyErr_SetString(DbmError, buf); in dbmopen_impl()
665 DbmError = PyErr_NewException("_gdbm.error", PyExc_OSError, NULL); in PyInit__gdbm()
666 if (DbmError != NULL) { in PyInit__gdbm()
667 PyDict_SetItemString(d, "error", DbmError); in PyInit__gdbm()