]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34527: Fix FreeBSD with POSIX locale (GH-8975)
authorVictor Stinner <vstinner@redhat.com>
Tue, 28 Aug 2018 12:53:31 +0000 (14:53 +0200)
committerGitHub <noreply@github.com>
Tue, 28 Aug 2018 12:53:31 +0000 (14:53 +0200)
commit4ff38870b1de8a3add5357edf125c2866bc42b54
tree40dfeda13262fc21fb5ef97029564a5c084b8553
parent204fb459ca1d77c2eab02a3191ba2d2216ff2d72
bpo-34527: Fix FreeBSD with POSIX locale (GH-8975)

On FreeBSD, Py_DecodeLocale() and Py_EncodeLocale() now also forces
the ASCII encoding if the LC_CTYPE locale is "POSIX", not only if
the LC_CTYPE locale is "C".
Misc/NEWS.d/next/Core and Builtins/2018-08-28-11-53-39.bpo-34527.aBEX9b.rst [new file with mode: 0644]
Python/fileutils.c