Message13012

Author pekka.klarck
Recipients pekka.klarck
Date 2020-03-10.23:41:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583883677.12.0.92379396054.issue2868@roundup.psfhosted.org>
In-reply-to
Content
It could also be argued that `sys.stdout.encoding` returning the encoding of the console when stdout is redirected to a file is wrong in general. CPython 2.7 returns `None` in that case and CPython 3 returns the encoding of the generated file which is cp1252 in my environment.
History
Date User Action Args
2020-03-10 23:41:17pekka.klarcksetmessageid: <1583883677.12.0.92379396054.issue2868@roundup.psfhosted.org>
2020-03-10 23:41:17pekka.klarcksetrecipients: + pekka.klarck
2020-03-10 23:41:17pekka.klarcklinkissue2868 messages
2020-03-10 23:41:17pekka.klarckcreate