Message189841
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? |
|
Date |
User |
Action |
Args |
2013-05-23 00:39:58 | sonyachiko | set | recipients:
+ sonyachiko |
2013-05-23 00:39:58 | sonyachiko | set | messageid: <1369269598.14.0.669972141851.issue18039@psf.upfronthosting.co.za> |
2013-05-23 00:39:57 | sonyachiko | link | issue18039 messages |
2013-05-23 00:39:57 | sonyachiko | create | |
|