summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-12-08 23:04:09 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-12-08 23:04:09 (GMT)
commit0aba1a2663799a7e6a5582a0d8052df840889016 (patch)
treed1bbfa1ff05057a5394fcf7b29a78c2e908de4db /Misc
parent7b83b186794cec6e5d12f43f9c1a6f20bfa4e932 (diff)
parent620c48b7ea7a1ad3af23725afdac1e6a2b3e6cef (diff)
downloadcpython-0aba1a2663799a7e6a5582a0d8052df840889016.zip
cpython-0aba1a2663799a7e6a5582a0d8052df840889016.tar.gz
cpython-0aba1a2663799a7e6a5582a0d8052df840889016.tar.bz2
(Merge 3.3) 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/ACKS1
-rw-r--r--Misc/NEWS6
2 files changed, 7 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 798aaa0..c002652 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -711,6 +711,7 @@ Steven Kryskalla
Andrew Kuchling
Dave Kuhlman
Jon Kuhn
+Toshio Kuratomi
Vladimir Kushnir
Erno Kuusela
Ross Lagerwall
diff --git a/Misc/NEWS b/Misc/NEWS
index f81db69..351106f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -21,6 +21,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 #19343: Expose FreeBSD-specific APIs in resource module. Original
patch by Koobs.