-
-
Notifications
You must be signed in to change notification settings - Fork 29.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpo-36232: Improve error message on dbm.open() when the db doesn't ex…
…ist (GH-12060)
- Loading branch information
1 parent
9bdd6d1
commit 81c5a90
Showing
3 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Misc/NEWS.d/next/Library/2019-03-20-15-13-18.bpo-36366.n0eav_.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Calling ``stop()`` on an unstarted or stopped :func:`unittest.mock.patch` | ||
object will now return `None` instead of raising :exc:`RuntimeError`, | ||
making the method idempotent. | ||
Patch byKarthikeyan Singaravelan. | ||
Patch by Karthikeyan Singaravelan. |
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Library/2019-04-06-20-25-25.bpo-36232.SClmhb.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Improve error message when trying to open existing DBM database that | ||
actually doesn't exist. Patch by Marco Rougeth. |