diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-12-08 23:01:27 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-12-08 23:01:27 (GMT) |
commit | 620c48b7ea7a1ad3af23725afdac1e6a2b3e6cef (patch) | |
tree | 4fbac6f2150c5a62345aca7a52c4c121914935c3 /Misc | |
parent | 589ecda56eb23937ba871734598cda8f11395389 (diff) | |
download | cpython-620c48b7ea7a1ad3af23725afdac1e6a2b3e6cef.zip cpython-620c48b7ea7a1ad3af23725afdac1e6a2b3e6cef.tar.gz cpython-620c48b7ea7a1ad3af23725afdac1e6a2b3e6cef.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -689,6 +689,7 @@ Steven Kryskalla Andrew Kuchling Dave Kuhlman Jon Kuhn +Toshio Kuratomi Vladimir Kushnir Erno Kuusela Ross Lagerwall @@ -18,6 +18,12 @@ Core and Builtins Library ------- +- 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. + - Issue #19929: Call os.read with 32768 within subprocess.Popen.communicate rather than 4096 for efficiency. A microbenchmark shows Linux and OS X both using ~50% less cpu time this way. |