summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-06-30 16:11:18 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-06-30 16:11:18 (GMT)
commit3909da7fca2ef92b8483f39b7cf89cac4b6e4826 (patch)
tree2c4056e1b55a8b4f352d1ea1aa6407d2fae13f5f /Misc/NEWS
parenta0b12a1ca7777f8b417b9753b48a443214331243 (diff)
parenteaf399e3355e6d62b1bb5810b66ad4ff431ece57 (diff)
downloadcpython-3909da7fca2ef92b8483f39b7cf89cac4b6e4826.zip
cpython-3909da7fca2ef92b8483f39b7cf89cac4b6e4826.tar.gz
cpython-3909da7fca2ef92b8483f39b7cf89cac4b6e4826.tar.bz2
(merge 3.2) Issue #12451: The XInclude default loader of xml.etree now decodes
files from UTF-8 instead of the locale encoding if the encoding is not specified. It now also opens XML files for the parser in binary mode instead of the text mode to avoid encoding issues.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 34f6b3d..f315c57 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -200,6 +200,11 @@ Core and Builtins
Library
-------
+- Issue #12451: The XInclude default loader of xml.etree now decodes files from
+ UTF-8 instead of the locale encoding if the encoding is not specified. It now
+ also opens XML files for the parser in binary mode instead of the text mode
+ to avoid encoding issues.
+
- Issue #12451: doctest.debug_script() doesn't create a temporary file
anymore to avoid encoding issues.