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 vstinner
Recipients vstinner
Date 2020-11-01.18:12:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604254376.75.0.724076396779.issue42236@roundup.psfhosted.org>
In-reply-to
Content
When the UTF-8 Mode is enabled, sys.stdout.encoding is always UTF-8, whereas os.devide_encoding(sys.stdout.fileno()) returns the locale encoding. os.devide_encoding() must return UTF-8 when the UTF-8 Mode is used.
History
Date User Action Args
2020-11-01 18:12:56vstinnersetrecipients: + vstinner
2020-11-01 18:12:56vstinnersetmessageid: <1604254376.75.0.724076396779.issue42236@roundup.psfhosted.org>
2020-11-01 18:12:56vstinnerlinkissue42236 messages
2020-11-01 18:12:56vstinnercreate