-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
[3.9] gh-80254: Disallow recursive usage of cursors in sqlite3
converters
#92278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.9] gh-80254: Disallow recursive usage of cursors in sqlite3
converters
#92278
Conversation
…` converters (cherry picked from commit c908dc5) Co-authored-by: Sergey Fedoseev <[email protected]> Co-authored-by: Jelle Zijlstra <[email protected]>
🤖 New build scheduled with the buildbot fleet by @JelleZijlstra for commit a5b9786 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
🤖 New build scheduled with the buildbot fleet by @erlend-aasland for commit 8e5fe56 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
For 3.9, 3.8, and 3.7, the cursor is not deallocated implicitly. I checked the code coverage, and the cursor dealloc function never run. Explicitly deleting the cursor in |
…` converters (python#92278) * [3.9] pythongh-80254: Disallow recursive usage of cursors in `sqlite3` converters (cherry picked from commit c908dc5) Co-authored-by: Sergey Fedoseev <[email protected]> Co-authored-by: Jelle Zijlstra <[email protected]> * Fix ref leak in pysqlite_cursor_iternext * Explicitly free resources at test tearDown()
(cherry picked from commit c908dc5)
Co-authored-by: Sergey Fedoseev [email protected]
Co-authored-by: Jelle Zijlstra [email protected]