New submission from Sashko Kopyl: I use Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 bit (Intel)] on win32.
dbm.open(..., flag="n") is supposed to "Always create a new, empty database, open for reading and writing". In Windows case it does not. So I cannot empty a dbm database when I need it. http://docs.python.org/3/library/dbm.html#module-dbm.dumb Here it is written: "The optional flag argument is currently ignored; the database is always opened for update, and will be created if it does not exist." If it is ignored, there should be at least a warning. How am I supposed to now that this is a known bug? ---------- components: Library (Lib) messages: 189841 nosy: sonyachiko priority: normal severity: normal status: open title: dbm.open(..., flag="n") does not work and does not give a warning type: behavior versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18039> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com