gh-145040: Fix crash in sqlite3 when connection is closed from within a callback#145041
Open
raminfp wants to merge 9 commits into
python:mainpython/cpython:mainfrom
raminfp:fix-gh-145040-sqlite3-close-in-callbackraminfp/cpython:fix-gh-145040-sqlite3-close-in-callbackCopy head branch name to clipboard
Open
gh-145040: Fix crash in sqlite3 when connection is closed from within a callback#145041raminfp wants to merge 9 commits intopython:mainpython/cpython:mainfrom raminfp:fix-gh-145040-sqlite3-close-in-callbackraminfp/cpython:fix-gh-145040-sqlite3-close-in-callbackCopy head branch name to clipboard
raminfp wants to merge 9 commits into
python:mainpython/cpython:mainfrom
raminfp:fix-gh-145040-sqlite3-close-in-callbackraminfp/cpython:fix-gh-145040-sqlite3-close-in-callbackCopy head branch name to clipboard
Commits
Commits on Feb 20, 2026
gh-145040: Fix crash in sqlite3 when connection is closed during aggregate callback
Show description for da5c4a6committedUpdate Misc/NEWS.d/next/Library/2026-02-20-00-00-00.gh-issue-145040.sqlite3-close-crash.rst
Show description for 1ecb567andauthored
Commits on Feb 21, 2026
Commits on Feb 27, 2026
gh-145040: Prevent closing sqlite3 connection from within a callback
Show description for eb69460committedgh-145040: Fix close_attempted_in_callback flag consumed by nested callbacks
Show description for 6f07252committed
Commits on Feb 28, 2026
gh-145040: Use cursor->locked to prevent closing sqlite3 connection in callback
Show description for 36ea504committed- committed
Commits on Mar 6, 2026
gh-145040: Remove close_attempted_in_callback flag; just raise in close_impl
Show description for 26523d0committed