summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-04-14 11:45:49 (GMT)
committerGitHub <noreply@github.com>2021-04-14 11:45:49 (GMT)
commitc1ae7419975f7d664320f66ea3acc8663bbf76cf (patch)
treee3d7a709c3c2ec93343169fa66f01ffa171c524b /Misc
parentb8509ffa82d393d9d4a0f5520edca057978bbd86 (diff)
downloadcpython-c1ae7419975f7d664320f66ea3acc8663bbf76cf.zip
cpython-c1ae7419975f7d664320f66ea3acc8663bbf76cf.tar.gz
cpython-c1ae7419975f7d664320f66ea3acc8663bbf76cf.tar.bz2
bpo-43265: Improve sqlite3.Connection.backup error handling (GH-24586)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-02-19-22-24-33.bpo-43265.MyAzCH.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-02-19-22-24-33.bpo-43265.MyAzCH.rst b/Misc/NEWS.d/next/Library/2021-02-19-22-24-33.bpo-43265.MyAzCH.rst
new file mode 100644
index 0000000..3e7f34e
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-02-19-22-24-33.bpo-43265.MyAzCH.rst
@@ -0,0 +1,3 @@
+Improve :meth:`sqlite3.Connection.backup` error handling. The error message
+for non-existant target database names is now ``unknown database <database
+name>`` instead of ``SQL logic error``. Patch by Erlend E. Aasland.