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 xiang.zhang
Recipients berker.peksag, ghaering, serhiy.storchaka, tehybel, xiang.zhang
Date 2016-08-26.06:12:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
For the first issue, the doc says:

The cursor method accepts a single optional parameter cursorClass. If supplied, this must be a custom cursor class that extends sqlite3.Cursor.

So I think we should check the type and then raise TypeError.

For the second issue, it seems it just hits the Py_CLEAR comments.

issue27861 tries to fix this. Besides, it also alters Connection.cursor's doc since it now does not reflects the implementation.
Date User Action Args
2016-08-26 06:12:36xiang.zhangsetrecipients: + xiang.zhang, ghaering, berker.peksag, serhiy.storchaka, tehybel
2016-08-26 06:12:36xiang.zhangsetmessageid: <>
2016-08-26 06:12:36xiang.zhanglinkissue27861 messages
2016-08-26 06:12:36xiang.zhangcreate