Author sonyachiko
Recipients sonyachiko
Date 2013-05-23.00:39:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369269598.14.0.669972141851.issue18039@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2013-05-23 00:39:58sonyachikosetrecipients: + sonyachiko
2013-05-23 00:39:58sonyachikosetmessageid: <1369269598.14.0.669972141851.issue18039@psf.upfronthosting.co.za>
2013-05-23 00:39:57sonyachikolinkissue18039 messages
2013-05-23 00:39:57sonyachikocreate