Dong-hee Na <donghee...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue45452>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to