[issue21368] Check for systemd locale on startup if current locale is set to POSIX

2017-12-18 Thread STINNER Victor
STINNER Victor added the comment: Follow-up: the PEP 538 (bpo-28180) and PEP 540 (bpo-29240) have been accepted and implemented in Python 3.7! -- ___ Python tracker ___ __

[issue21368] Check for systemd locale on startup if current locale is set to POSIX

2016-12-12 Thread Nick Coghlan
Nick Coghlan added the comment: While this is still a problem I'm interested in solving, I no longer think reading the systemd locale config file would be a good way to address it. See issue 28180 for a more recent discussion of some other alternatives. -- resolution: -> rejected stat

[issue21368] Check for systemd locale on startup if current locale is set to POSIX

2014-10-14 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: -skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue21368] Check for systemd locale on startup if current locale is set to POSIX

2014-05-02 Thread Nick Coghlan
Nick Coghlan added the comment: That's the problem - even on UTF-8 systems, Linux programs will often be started in a misconfigured environment: the POSIX locale. Python 2 doesn't try to interpret the binary data as text, so it doesn't care. Python 3 *does* care, since it automatically converts s

[issue21368] Check for systemd locale on startup if current locale is set to POSIX

2014-05-02 Thread Stefan Krah
Stefan Krah added the comment: Why is the default encoding of POSIX wrong on a modern Linux system? Today I installed Debian testing, and the first question of the installer is to choose between "C" and "English" locales for the install. This with the remark that the chosen locale will be the de

[issue21368] Check for systemd locale on startup if current locale is set to POSIX

2014-05-02 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21368] Check for systemd locale on startup if current locale is set to POSIX

2014-05-01 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue21368] Check for systemd locale on startup if current locale is set to POSIX

2014-04-27 Thread STINNER Victor
STINNER Victor added the comment: I don't think that Python should read such configuration file. If you consider that something is wrong here, please report the issue to the C library. -- nosy: +haypo ___ Python tracker

[issue21368] Check for systemd locale on startup if current locale is set to POSIX

2014-04-27 Thread Nick Coghlan
New submission from Nick Coghlan: Issue 19977 added "surrogateescape" to the fallback settings for the standard streams if Python 3 appears to be running under the POSIX locale (which Python 3 currently reads as setting a default encoding of ASCII, which is almost certainly wrong on any modern