[issue22964] dbm.open(..., "x")

2019-08-21 Thread Serhiy Storchaka
Serhiy Storchaka 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 d

[issue22964] dbm.open(..., "x")

2019-05-12 Thread Antony Lee
Change by Antony Lee : -- nosy: -Antony.Lee ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue22964] dbm.open(..., "x")

2019-05-12 Thread Batuhan
Batuhan added the comment: Python directly passes flags to gdbm (or whatever the dbm interface is). gdbm_open((char *)file, 0, flags, mode, NULL)) # _gdbmmodule.c:76 I dont think it is good idea to wrap gdbm for just a flag. -- nosy: +BTaskaya __

[issue22964] dbm.open(..., "x")

2015-03-09 Thread Claudiu Popa
Changes by Claudiu Popa : -- nosy: +Claudiu.Popa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue22964] dbm.open(..., "x")

2014-11-28 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> needs patch type: -> enhancement versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue22964] dbm.open(..., "x")

2014-11-28 Thread Antony Lee
New submission from Antony Lee: It would be nice if dbm.open() supported the "x" flag that open() now supports (create a new db, failing if it already exists). -- components: Library (Lib) messages: 231835 nosy: Antony.Lee priority: normal severity: normal status: open title: dbm.open(.