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 <1472191956.68.0.395347161532.issue27861@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
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: <1472191956.68.0.395347161532.issue27861@psf.upfronthosting.co.za>
2016-08-26 06:12:36xiang.zhanglinkissue27861 messages
2016-08-26 06:12:36xiang.zhangcreate