[Python-Dev] PEP 540: Add a new UTF-8 mode (v3)
Ethan Furman
ethan at stoneleaf.us
Fri Dec 8 11:29:31 EST 2017
There were some concerns about open() earlier:
On Wed, 6 Dec 2017 at 06:10 INADA Naoki wrote:
> I think PEP 538 and PEP 540 should behave almost identical except
> changing locale or not. So I need very strong reason if PEP 540
> changes default error handler of open().
Brett replied:
> I don't have enough locale experience to weigh in as an expert,
> but I already was leaning towards INADA-san's logic of not wanting
> to change open() and this makes me really not want to change it.
On 12/08/2017 07:22 AM, Victor Stinner wrote:
> """
> Effects of the UTF-8 Mode:
[...]
> Side effects:
>
> * ``open()`` uses the UTF-8 encoding by default.
For those of us trying to follow along, is this change to open() one that Inada-san was worried about? Has something
else changed?
--
~Ethan~
More information about the Python-Dev
mailing list