Paul Moore [mailto:[email protected]]: wrote:
> On Wed, 10 Feb 2021 at 14:33, Anders Munch <[email protected]> wrote:
>> The idea is to make is so that working code only needs to change once, even 
>> when supporting multiple Python versions.
>> That one change is to add either an explicit encoding=None (for 
>> backwards-compatibility) or an explicit encoding='utf-8' (because that was 
>> intended all along).  No twice about it, one change.

> But then people who added an explicit utf-8 encoding need to remove the 
> encoding argument again once the default value changes

Why would they do that?  There's no need to remove anything.  Code that doesn't 
use a default doesn't break because the default changes.

regards, Anders

_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/WBUP2BNLAKHILUM3ZE3A2LVQKAQRXQ7T/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to