New submission from Marco Rougeth <ma...@rougeth.com>:
If dbm.open is used with the flags 'r' or 'w' (read-only) to open a file that doesn't exist, it raises an exception with the message "need 'c' or 'n' flag to open new db". It'd be better to have a more explicit error message like "db file doesn't exist, use 'c' or 'n' flag to open new db". ---------- messages: 337462 nosy: rougeth priority: normal pull_requests: 12220 severity: normal status: open title: Improve error message on dbm.open _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36232> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com