From: briancurtin Date: Mon, 14 Mar 2011 20:36:31 +0000 (-0400) Subject: Fix #11491. When dbm.open was called with a file which already exists and X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30bb6e036053565bdbc336175d0433b128f6cd29;p=python 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. --- 30bb6e036053565bdbc336175d0433b128f6cd29 diff --cc Misc/NEWS index 9774f15524,f3442a52bb..483e6607e9 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -68,9 -34,10 +68,13 @@@ Core and Builtin Library ------- + - Issue #11491: dbm.error is no longer raised when dbm.open is called with + the "n" as the flag argument and the file exists. The behavior matches + the documentation and general logic. + +- Issue #1162477: Postel Principal adjustment to email date parsing: handle the + fact that some non-compliant MUAs use '.' instead of ':' in time specs. + - Issue #11131: Fix sign of zero in decimal.Decimal plus and minus operations when the rounding mode is ROUND_FLOOR.