This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author edreamleo
Recipients edreamleo
Date 2019-11-03.13:17:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572787077.04.0.702070819324.issue38663@roundup.psfhosted.org>
In-reply-to
Content
The original bug report used a Leo-only function, g.toUnicode. To fix this, replace:

result = g.toUnicode(tokenize.untokenize(tokens))

by:

result_b = tokenize.untokenize(tokens)
result = result_b.decode('utf-8', 'strict')
History
Date User Action Args
2019-11-03 13:17:57edreamleosetrecipients: + edreamleo
2019-11-03 13:17:57edreamleosetmessageid: <1572787077.04.0.702070819324.issue38663@roundup.psfhosted.org>
2019-11-03 13:17:57edreamleolinkissue38663 messages
2019-11-03 13:17:56edreamleocreate