On Thu, Feb 4, 2021, at 18:46, Ben Rudiak-Gould wrote: > > On Thu, Feb 4, 2021 at 3:29 PM Chris Angelico <ros...@gmail.com> wrote: > > With "t", it takes/gives Unicode objects, but with "b" it uses bytes. > > Sure, in Python 3, but not in Python 2, or C. > > Anyway, moral correctness is beside the point. People in point of fact > don't write encoding='utf-8' when they should, because it's so much to > type.
I'll say again, what if it were accepted as a positional argument? the current third positional argument is "buffering", which is an integer, but I doubt there's even much code that uses it intentionally. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/QASTB6O7DJXXDGNV3EQZAGTVBQZBYGZP/ Code of Conduct: http://python.org/psf/codeofconduct/