commit | 620c48b7ea7a1ad3af23725afdac1e6a2b3e6cef | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Mon Dec 09 00:01:27 2013 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Mon Dec 09 00:01:27 2013 +0100 |
tree | 4fbac6f2150c5a62345aca7a52c4c121914935c3 | |
parent | 589ecda56eb23937ba871734598cda8f11395389 [diff] |
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.