Re: [Python-Dev] UTF-8 Mode now also enabled by the POSIX locale

2018-09-02 Thread Nick Coghlan
On Tue, 28 Aug 2018 at 23:02, Victor Stinner wrote: > > Hi, > > While working on test_utf8_mode on AIX (bpo-34347) and HP-UX > (bpo-34403), I noticed that FreeBSD doesn't work properly with the > POSIX locale (bpo-34527). I also noticed that my implementation of my > PEP 540 "UTF-8 Mode" doesn't r

[Python-Dev] UTF-8 Mode now also enabled by the POSIX locale

2018-08-28 Thread Victor Stinner
Hi, While working on test_utf8_mode on AIX (bpo-34347) and HP-UX (bpo-34403), I noticed that FreeBSD doesn't work properly with the POSIX locale (bpo-34527). I also noticed that my implementation of my PEP 540 "UTF-8 Mode" doesn't respect the PEP: the UTF-8 Mode should be enabled by the POSIX loca