[issue11688] SQLite trace callback

Torsten Landschoff report at bugs.python.org
Wed Mar 30 21:40:26 CEST 2011


Torsten Landschoff <t.landschoff at gmx.net> added the comment:

> The patch looks good to me, thank you!
> Gerhard, would you like to tackle this? Otherwise I'll commit in a couple of days.

What I am still wondering about is if it would make sense to use the text factory here. It might make sense to pass through the bytes directly without translation into unicode (especially for big amounts).

OTOH, this is mostly a debugging aid and nothing that would be enabled in production. And premature optimization is the root of all evil...

----------

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


More information about the Python-bugs-list mailing list