Message273789
About the first bug. Checking that a factory is a subclass of sqlite3.Cursor is not enough. I suppose that a subclass of sqlite3.Cursor with overridden __new__ could pass the check but cause a crash.
class BadCursor(sqlite3.Cursor):
def __new__(cls, conn):
return None
Docs should be changed as well as the code.
As for the second bug, please open a separate issue. This is more complex issue. |
|
Date |
User |
Action |
Args |
2016-08-27 18:02:55 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ghaering, berker.peksag, xiang.zhang, tehybel |
2016-08-27 18:02:55 | serhiy.storchaka | set | messageid: <1472320975.46.0.43323187274.issue27861@psf.upfronthosting.co.za> |
2016-08-27 18:02:55 | serhiy.storchaka | link | issue27861 messages |
2016-08-27 18:02:55 | serhiy.storchaka | create | |
|