diff options
author | Ćukasz Langa <lukasz@langa.pl> | 2021-10-29 20:54:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-29 20:54:07 (GMT) |
commit | 7e2c0a18b41cb906a354776e6ca52af81e39820f (patch) | |
tree | ddf557e24707d650a99f989930c6576e05906d23 /Misc/NEWS.d | |
parent | 0538351fcaa320e62cb4ef92ec629b7e24a73e9c (diff) | |
download | cpython-7e2c0a18b41cb906a354776e6ca52af81e39820f.zip cpython-7e2c0a18b41cb906a354776e6ca52af81e39820f.tar.gz cpython-7e2c0a18b41cb906a354776e6ca52af81e39820f.tar.bz2 |
[3.10] bpo-45581: Raise `MemoryError` in `sqlite3.connect` if SQLite signals memory error (GH-29171) (GH-29323)
(cherry picked from commit e2e62b3808691e15fa44b883270023e42dcad958)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-10-22-21-57-02.bpo-45581.rlH6ay.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-10-22-21-57-02.bpo-45581.rlH6ay.rst b/Misc/NEWS.d/next/Library/2021-10-22-21-57-02.bpo-45581.rlH6ay.rst new file mode 100644 index 0000000..13a3b23 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-10-22-21-57-02.bpo-45581.rlH6ay.rst @@ -0,0 +1,2 @@ +:meth:`sqlite3.connect` now correctly raises :exc:`MemoryError` if the +underlying SQLite API signals memory error. Patch by Erlend E. Aasland. |