Message273696
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:36 | xiang.zhang | set | recipients:
+ xiang.zhang, ghaering, berker.peksag, serhiy.storchaka, tehybel |
2016-08-26 06:12:36 | xiang.zhang | set | messageid: <1472191956.68.0.395347161532.issue27861@psf.upfronthosting.co.za> |
2016-08-26 06:12:36 | xiang.zhang | link | issue27861 messages |
2016-08-26 06:12:36 | xiang.zhang | create | |
|