[issue3312] bugs in _sqlite module

2008-07-16 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r65040. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3312] bugs in _sqlite module

2008-07-07 Thread STINNER Victor
New submission from STINNER Victor <[EMAIL PROTECTED]>: (A) module_register_adapter() doesn't check microprotocols_add() result, whereas it can fails (eg. dict setitem error). Example: "import _sqlite3; _sqlite3.register_adapter({}, None)" => should raise a TypeError (unhashable type: 'dict').