bpo-34248: add filename to DbmError at gdbm_open() by csernazs · Pull Request #8590 · python/cpython
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters