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 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:51:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Why do you need to call getpreferredencoding()?

I proposed to do that, but I prefer your simple flag:

> text_mode = encoding or errors or universal_newlines

Steve: please use this simpler flag to avoid TextIOWrapper details in ;-)
Date User Action Args
2016-09-06 22:51:53vstinnersetrecipients: + vstinner, amaury.forgeotdarc, ncoghlan, pitrou, mark, eric.araujo, segfaulthunter, Arfrever, r.david.murray, srid, mightyiam, chris.jerdonek, martin.panter, eryksun, steve.dower, berwin22
2016-09-06 22:51:53vstinnersetmessageid: <>
2016-09-06 22:51:53vstinnerlinkissue6135 messages
2016-09-06 22:51:53vstinnercreate