diff options
author | briancurtin <brian.curtin@gmail.com> | 2011-03-14 15:35:35 -0400 |
---|---|---|
committer | briancurtin <brian.curtin@gmail.com> | 2011-03-14 15:35:35 -0400 |
commit | 46514558f9373a5f0f8fca723963951f1bd8275e (patch) | |
tree | b0120286c1042867b028b20ab611d128856e4475 /Misc | |
parent | e7a21706b4e7c5c8020858ca384e5f7270c7f171 (diff) | |
download | cpython-46514558f9373a5f0f8fca723963951f1bd8275e.tar.gz |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -154,6 +154,7 @@ Terrence Cole Benjamin Collar Jeffery Collins Paul Colomiets +Denver Coneybeare Matt Conway David M. Cooke Greg Copeland @@ -40,6 +40,10 @@ Core and Builtins 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 #11131: Fix sign of zero in decimal.Decimal plus and minus operations when the rounding mode is ROUND_FLOOR. |