This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Oren Milman
Recipients Oren Milman
Date 2017-10-11.19:09:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The following code causes a crash:
import sqlite3
cursor = sqlite3.Cursor.__new__(sqlite3.Cursor)

this is because pysqlite_cursor_close() (in Modules/_sqlite/cursor.c) assumes
that `self->connection` is not NULL, and passes it to pysqlite_check_thread(),
which crashes.

I would open a PR to fix this soon.
Date User Action Args
2017-10-11 19:09:18Oren Milmansetrecipients: + Oren Milman
2017-10-11 19:09:18Oren Milmansetmessageid: <>
2017-10-11 19:09:18Oren Milmanlinkissue31764 messages
2017-10-11 19:09:18Oren Milmancreate