Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-140042: Removing unsafe call to sqlite3_shutdown (GH-141690)
(cherry picked from commit b1558b6)

Co-authored-by: Prithviraj Chaudhuri <p.chaudhuri1993@gmail.com>
  • Loading branch information
prithviraj-chaudhuri authored and miss-islington committed Nov 20, 2025
commit bfa01ba45ddc0e0edb876bce66f359a05c1c3823
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Removed the sqlite3_shutdown call that could cause closing connections for sqlite when used with multiple sub interpreters.
1 change: 0 additions & 1 deletion Modules/_sqlite/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,6 @@ module_exec(PyObject *module)
return 0;

error:
sqlite3_shutdown();
return -1;
}

Expand Down
Loading