But people who currently don't specify the encoding, and *don't* have any issue (because the system locale is correct) will be getting told to introduce a bug into their code, if they follow that advice :-(
Paul On Tue, 9 Feb 2021 at 16:03, Victor Stinner <vstin...@python.org> wrote: > > On Tue, Feb 9, 2021 at 1:31 PM Paul Moore <p.f.mo...@gmail.com> wrote: > > If we can't provide a good recommendation > > to the user on what to do, we shouldn't be warning them that what they > > are currently doing is wrong. > > The warning can explicitly suggest to use encoding="utf8", it should > work in almost all cases. > > Victor > -- > Night gathers, and now my watch begins. It shall not end until my death. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/HSV6QSJKAUFS7LWZVEZUWTUD5A6DCFFL/ Code of Conduct: http://python.org/psf/codeofconduct/