[issue45452] Support crash tolerance feature for gdbm module
Dong-hee Na
report at bugs.python.org
Thu Oct 14 10:43:48 EDT 2021
Dong-hee Na <donghee.na at python.org> added the comment:
> How would it be used from Python? What are scenarios?
I am preparing PoC, I will share you once done.
>From gdbm 1.21, gdbm provides 2 kinds of format. (Standard format / Extended format.)
To create a gdm format with the extended option, GDBM_NUMSYNC flag needs to be supported.
Without this, there is no way to create a database file with extension option from Python module.
I am thinking about the following usage.
import dbm.gnu as dbm
db = dbm.open('x.db', 'nx')
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45452>
_______________________________________
More information about the Python-bugs-list
mailing list