]> 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 20:36:31 +0000 (16:36 -0400)
committerbriancurtin <brian.curtin@gmail.com>
Mon, 14 Mar 2011 20:36:31 +0000 (16:36 -0400)
commit30bb6e036053565bdbc336175d0433b128f6cd29
treed4e6e830c8f6668b4964b2f9d42fa1e79bbcf2c9
parentb4039aaf358ec8c2797827175982d7e0ba17f5f2
parent525c25d42f8740111d14b9f8ca56cc2762175eaf
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.
Misc/ACKS
Misc/NEWS