[issue13676] sqlite3: Zero byte truncates string contents
Antoine Pitrou
report at bugs.python.org
Sun Jan 1 23:13:37 CET 2012
Antoine Pitrou <pitrou at free.fr> added the comment:
> Attached an updated patch. The custom text_factory case is now fixed,
> and bytes, bytearray and custom factory are all tested.
Thanks, looks good to me.
> Antoine: Do you happen to know what's the status of the
> OptimizeUnicode thingie? Has it been changed for a reason or is it
> just an error that happened during the py3k transition?
It looks obsolete in 3.x to me. If you look at the 2.7 source code, it
had a real meaning there. Probably we could simplify the 3.x source code
by removing that option (but better to do it in a separate patch).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13676>
_______________________________________
More information about the Python-bugs-list
mailing list