Julien Palard added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28729>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to