This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author corona10
Recipients corona10, serhiy.storchaka, vstinner
Date 2021-10-14.14:43:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634222628.85.0.870465862415.issue45452@roundup.psfhosted.org>
In-reply-to
Content
> 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')
History
Date User Action Args
2021-10-14 14:43:48corona10setrecipients: + corona10, vstinner, serhiy.storchaka
2021-10-14 14:43:48corona10setmessageid: <1634222628.85.0.870465862415.issue45452@roundup.psfhosted.org>
2021-10-14 14:43:48corona10linkissue45452 messages
2021-10-14 14:43:48corona10create