[issue18039] dbm.open(..., flag="n") does not work and does not give a warning

Serhiy Storchaka report at bugs.python.org
Mon Jun 9 21:10:01 CEST 2014


Serhiy Storchaka added the comment:

With this patch 2 of 4 modes ('c' and 'n') work as for other dbm modules. So it would be better to document that 'r' and 'w' work nonstandard, than document that 'n' is not ignored.

And while you are here, may be add a warning in 'r' and 'w' mode when the file does not exist?

----------
assignee:  -> serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18039>
_______________________________________


More information about the Python-bugs-list mailing list