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 steve.dower
Recipients eryksun, methane, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-06-14.15:54:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560527660.47.0.337399077679.issue37275@roundup.psfhosted.org>
In-reply-to
Content
Isn't the point that device_encoding(FD) gets the encoding of the specified file? In this case stdout?

It seems odd that chcp doesn't actually update the console code page here, as that is its entire purpose. Perhaps TextIOWrapper is actually getting ACP rather than the console encoding through some other path?
History
Date User Action Args
2019-06-14 15:54:20steve.dowersetrecipients: + steve.dower, paul.moore, vstinner, tim.golden, methane, zach.ware, eryksun
2019-06-14 15:54:20steve.dowersetmessageid: <1560527660.47.0.337399077679.issue37275@roundup.psfhosted.org>
2019-06-14 15:54:20steve.dowerlinkissue37275 messages
2019-06-14 15:54:20steve.dowercreate