[Python-Dev] PEP 540: Add a new UTF-8 mode (v2)

Antoine Pitrou solipsis at pitrou.net
Wed Dec 6 17:07:54 EST 2017


On Wed, 6 Dec 2017 01:49:41 +0100
Victor Stinner <victor.stinner at gmail.com> wrote:
> Hi,
> 
> I knew that I had to rewrite my PEP 540, but I was too lazy. Since
> Guido explicitly requested a shorter PEP, here you have!
> 
> https://www.python.org/dev/peps/pep-0540/
> 
> Trust me, it's the same PEP, but focused on the most important
> information and with a shorter rationale ;-)

Congrats on the rewriting!  The shortening is appreciated :-)

One question: how do you plan to test for the POSIX locale?  Apparently
you need to check at least for the "C" and "POSIX" strings, but perhaps
other aliases as well?

Regards

Antoine.




More information about the Python-Dev mailing list