]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #17429: platform.linux_distribution() now decodes files from the UTF-8
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 8 Dec 2013 23:01:27 +0000 (00:01 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Sun, 8 Dec 2013 23:01:27 +0000 (00:01 +0100)
commit620c48b7ea7a1ad3af23725afdac1e6a2b3e6cef
tree4fbac6f2150c5a62345aca7a52c4c121914935c3
parent589ecda56eb23937ba871734598cda8f11395389
Issue #17429: platform.linux_distribution() now decodes files from the UTF-8
encoding with the surrogateescape error handler, instead of decoding from the
locale encoding in strict mode. It fixes the function on Fedora 19 which is
probably the first major distribution release with a non-ASCII name. Patch
written by Toshio Kuratomi.
Lib/platform.py
Lib/test/test_platform.py
Misc/ACKS
Misc/NEWS