bpo-34248: add filename to DbmError at gdbm_open() by csernazs · Pull Request #8590 · python/cpython

ZackerySpytz

berkerpeksag

serhiy-storchaka

berkerpeksag

berkerpeksag

@csernazs

…dbm.open

Report the filename to the exception when raising error in dbm.gnu.open and
db.ndbm.open functions, so it gets printed when the exception is unhandled,
and also can be obtained by the filename attribute of the exception object.