Serhiy Storchaka added the comment: Just add the "b" prefix to literal string argument of unicode() in Python 2.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19159> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com