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 ned.deily, serhiy.storchaka, taleinat, terry.reedy
Date 2020-06-29.12:15:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593432920.55.0.0311971736877.issue41152@roundup.psfhosted.org>
In-reply-to
Content
PR 21214 sets the encoding of stdin/stdout/stderr to 'utf-8'. Error handler is set to 'surrogatepass' or 'surrogateescape' because these error handlers are used when convert strings between Python and Tcl. It guarantees that reading from stdin and writing back to stdout will never fail, even if you paste garbage from clipboard. Printing file paths will never fail too.
History
Date User Action Args
2020-06-29 12:15:20serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, taleinat, ned.deily
2020-06-29 12:15:20serhiy.storchakasetmessageid: <1593432920.55.0.0311971736877.issue41152@roundup.psfhosted.org>
2020-06-29 12:15:20serhiy.storchakalinkissue41152 messages
2020-06-29 12:15:20serhiy.storchakacreate