<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, Dec 7, 2017 at 8:38 PM Glenn Linderman <<a href="mailto:v%2Bpython@g.nevcal.com">v+python@g.nevcal.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If it were to be changed, one could add a text-mode option in 3.7,
say "t" in the mode string, and a PendingDeprecationWarning for open
calls without the specification of either t or b in the mode string.<br></blockquote><div><br></div><div>"t" is already supported in open()'s mode argument [1] as a way to explicitly request text mode, though it's essentially ignored right now since text is the default anyway. So since the option is already present, the only thing needed at this stage for your plan would be to begin deprecating not using it.</div><div><br></div><div>*goes back to lurking*</div><div><br></div><div>[1] <a href="https://docs.python.org/3/library/functions.html#open">https://docs.python.org/3/library/functions.html#open</a><br></div></div></div>