[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

[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:

[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 pcmantic...@gmail.com: -- nosy: +Claudiu.Popa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22964 ___ ___ Python-bugs-list

[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:

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

2014-11-28 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag stage: - needs patch type: - enhancement versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22964