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
sqlite3.Cursor.close() crashes in case the Cursor object is uninitialized #75945
Comments
The following code causes a crash: this is because pysqlite_cursor_close() (in Modules/_sqlite/cursor.c) assumes I would open a PR to fix this soon. |
@oren: The 2.7 backport is not straighforward. Would you mind to backport the fix to 2.7, please? |
I opened bpo-4333 for 2.7, but it is quite straightforward.. Am i missing something? |
Thank you for the backport Oren, I already merged it into Python 2.7. Thanks Oren Milman for your bug report *and* for your bug fix!
Sorry, I had to say that "git cherry-pick" failed on 2.7. I didn't check why ;-) |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: