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 mdk
Recipients inglesp, mdk
Date 2016-11-18.00:10:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479427856.01.0.648059258678.issue28729@psf.upfronthosting.co.za>
In-reply-to
Content
I missed an occurrence of this "if/else" block, and by changing it, a lot of tests are failing, typically:

```======================================================================
ERROR: CheckBlob (sqlite3.test.types.SqliteTypeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mdk/cpython/Lib/sqlite3/test/types.py", line 72, in CheckBlob
    self.cur.execute("insert into test(b) values (?)", (val,))
sqlite3.InterfaceError: Problem in adapter

```

So this "if/else" giving back the unadapted parameter even when need_adapt is true is necessary, we'll have to understand why and how we can properly detect an adapter failure.
History
Date User Action Args
2016-11-18 00:10:56mdksetrecipients: + mdk, inglesp
2016-11-18 00:10:56mdksetmessageid: <1479427856.01.0.648059258678.issue28729@psf.upfronthosting.co.za>
2016-11-18 00:10:55mdklinkissue28729 messages
2016-11-18 00:10:55mdkcreate