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 danielsh
Recipients danielsh, ezio.melotti, ghaering, torsten
Date 2012-12-30.18:40:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356892828.58.0.328330391161.issue16379@psf.upfronthosting.co.za>
In-reply-to
Content
A couple of random eyebrow-raisers I noticed while working on v2:

- sqlite3.Warning is a subclass of Exception, rather than sqlite3.Error
  or builtins.Warning.  (Also, the docs say "will raise a Warning",
  intending to refer to sqlite3.Warning, but the lack of markup makes
  this ambiguous --- it would be interpreted as a reference to
  builtins.Warning).

- If _PyUnicode_AsStringAndSize() returns NULL, the code sets a
  sqlite3.Warning exception without first checking what exception is
  already set.  (grep for PYSQLITE_SQL_WRONG_TYPE)
History
Date User Action Args
2012-12-30 18:40:28danielshsetrecipients: + danielsh, ghaering, ezio.melotti, torsten
2012-12-30 18:40:28danielshsetmessageid: <1356892828.58.0.328330391161.issue16379@psf.upfronthosting.co.za>
2012-12-30 18:40:28danielshlinkissue16379 messages
2012-12-30 18:40:28danielshcreate