Author eryksun
Recipients Arfrever, amaury.forgeotdarc, berwin22, chris.jerdonek, eric.araujo, eryksun, mark, martin.panter, mightyiam, ncoghlan, pitrou, r.david.murray, segfaulthunter, srid, steve.dower, vstinner
Date 2016-09-06.22:50:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Why do you need to call getpreferredencoding()? Isn't that already the default if you call TextIOWrapper with encoding as None? For example:

    text_mode = encoding or errors or universal_newlines

    self.stdin =, 'wb', bufsize)
    if text_mode:
        self.stdin = io.TextIOWrapper(self.stdin, write_through=True,
                                      line_buffering=(bufsize == 1),
                                      encoding=encoding, errors=errors)
Date User Action Args
2016-09-06 22:50:07eryksunsetrecipients: + eryksun, amaury.forgeotdarc, ncoghlan, pitrou, vstinner, mark, eric.araujo, segfaulthunter, Arfrever, r.david.murray, srid, mightyiam, chris.jerdonek, martin.panter, steve.dower, berwin22
2016-09-06 22:50:07eryksunsetmessageid: <>
2016-09-06 22:50:07eryksunlinkissue6135 messages
2016-09-06 22:50:07eryksuncreate