[issue9510] sqlite3.Warning isnt a subclass of exceptions.Warning

Gerhard Häring report at bugs.python.org
Thu Aug 5 11:57:05 CEST 2010


Gerhard Häring <gh at ghaering.de> added the comment:

PEP 0249 says that the module's Warning class must be a subclass of StandardError. So I reject your proposed change.

There are only two cases where pysqlite raises Warning, and these could be changed to ProgrammerError anyway.

----------
assignee:  -> ghaering
resolution:  -> rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9510>
_______________________________________


More information about the Python-bugs-list mailing list