Brett Cannon added the comment: Attached is a fix for sqlite3.
First issue was that the dictionary that was being used to store converters was having keys in Python code as Unicode but being compared against str8 in C. The second issue was that when an object was serialized using __conform__ and a Unicode object was returned, it was being unserialized as a str8 no matter what type of argument was returned. That makes the most sense if only a single type is going to be returned, so I left it as such and fixed the test to decode str8 to UTF-8 if passed to __init__. Added file: http://bugs.python.org/file8580/sqlite_fix.diff __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1263> __________________________________
sqlite_fix.diff
Description: Binary data
_______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com