[issue29021] Custom functions in sqlite receive None on invalid UTF-8

Aviv Palivoda report at bugs.python.org
Sat Jan 7 11:12:13 EST 2017


Aviv Palivoda added the comment:

After looking more into the _pysqlite_set_result function fail in Ingo example I think this is the expected behavior. The PyUnicode_AsUTF8 fails but this is expected as the value is an invalid UTF-8.

----------

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


More information about the Python-bugs-list mailing list