summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-06-04 18:54:39 (GMT)
committerGitHub <noreply@github.com>2021-06-04 18:54:39 (GMT)
commit067d6d46575b5cf30bbf7c812defee1517106a34 (patch)
tree2497963d4b2a7ecfa831f8bd9c52465ee9aa3c67 /Misc
parent3f4d801bf907a5fcab50f3b64475d1410b90a80f (diff)
downloadcpython-067d6d46575b5cf30bbf7c812defee1517106a34.zip
cpython-067d6d46575b5cf30bbf7c812defee1517106a34.tar.gz
cpython-067d6d46575b5cf30bbf7c812defee1517106a34.tar.bz2
bpo-43853: Handle sqlite3_value_text() errors (GH-25422)
(cherry picked from commit 006fd869e4798b68e266f5de89c83ddb531a756b) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-04-15-12-02-17.bpo-43853.XXCVAp.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-04-15-12-02-17.bpo-43853.XXCVAp.rst b/Misc/NEWS.d/next/Library/2021-04-15-12-02-17.bpo-43853.XXCVAp.rst
new file mode 100644
index 0000000..c5c3a0a
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-04-15-12-02-17.bpo-43853.XXCVAp.rst
@@ -0,0 +1,3 @@
+Improve :mod:`sqlite3` error handling: ``sqlite3_value_text()`` errors that
+set ``SQLITE_NOMEM`` now raise :exc:`MemoryError`. Patch by Erlend E.
+Aasland.