]> granicus.if.org Git - python/commit
Fix #11491. When dbm.open was called with a file which already exists and
authorbriancurtin <brian.curtin@gmail.com>
Mon, 14 Mar 2011 19:35:35 +0000 (15:35 -0400)
committerbriancurtin <brian.curtin@gmail.com>
Mon, 14 Mar 2011 19:35:35 +0000 (15:35 -0400)
commit94eceeb89c153d8bf77dc194f8896a66cc25519a
treeaf14d0e536dbb4b85a5dcb7a3552b1b0146450a6
parent250324952e63a51fe885d457d207082f249bbefd
Fix #11491. When dbm.open was called with a file which already exists and
the "flag" argument is "n", dbm.error was being raised. As documented,
dbm.open(...,flag='n') will now "Always create a new, empty database,
open for reading and writing", regardless of a previous file existing.
Lib/dbm/__init__.py
Lib/test/test_dbm.py
Misc/ACKS
Misc/NEWS