[issue36232] Improve error message on dbm.open

2019-09-25 Thread Marco Rougeth
Change by Marco Rougeth : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36232] Improve error message on dbm.open

2019-09-24 Thread Dong-hee Na
Dong-hee Na added the comment: I think that this issue solved. Can we close this issue? -- nosy: +corona10 ___ Python tracker ___

[issue36232] Improve error message on dbm.open

2019-04-29 Thread Brett Cannon
Brett Cannon added the comment: New changeset 81c5a905951aaf46f292eb459c32649c0b74ef61 by Brett Cannon (Marco Rougeth) in branch 'master': bpo-36232: Improve error message on dbm.open() when the db doesn't exist (GH-12060)

[issue36232] Improve error message on dbm.open

2019-03-08 Thread Marco Rougeth
New submission from Marco Rougeth : 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,