Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
It looks like I misunderstood what PyUnicode_As{En,De}codedObject() and PyUnicode_As{En,De}codedUnicode() functions are designed to do. Attaching a corrected patch, issue10435a.diff. ---------- Added file: http://bugs.python.org/file19622/issue10435a.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10435> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com