[issue22964] dbm.open(..., "x")
Serhiy Storchaka
report at bugs.python.org
Wed Aug 21 15:24:49 EDT 2019
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
Agree with Batuhan. There are three dbm implementations in the stdlib: dumb, ndbm and gnu. It may be possible to implement the "x" flag in the former two, but gdbm_open() does not support it.
Since by default the implementation is chosen automatically in dbm.open(), I do not think it is practically to implement a flag which do not work with all implementations.
----------
nosy: +serhiy.storchaka
resolution: -> rejected
stage: needs patch -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue22964>
_______________________________________
More information about the Python-bugs-list
mailing list