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 serhiy.storchaka
Recipients belopolsky, serhiy.storchaka
Date 2020-06-27.10:50:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593255002.94.0.166052202636.issue41138@roundup.psfhosted.org>
In-reply-to
Content
The command line interface of the trace module reads source files using the locale encoding.

The following file fixes this by reading a file in binary mode (compile() detects the encoding). It fixes also a resource warning when save counts to a file.
History
Date User Action Args
2020-06-27 10:50:02serhiy.storchakasetrecipients: + serhiy.storchaka, belopolsky
2020-06-27 10:50:02serhiy.storchakasetmessageid: <1593255002.94.0.166052202636.issue41138@roundup.psfhosted.org>
2020-06-27 10:50:02serhiy.storchakalinkissue41138 messages
2020-06-27 10:50:02serhiy.storchakacreate