From: Victor Stinner Date: Sun, 3 Jul 2011 23:27:37 +0000 (+0200) Subject: (merge 3.2) Issue #12451: xml.dom.pulldom: parse() now opens files in binary X-Git-Tag: v3.3.0a1~1973 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3663abab59a397c971fb7e039f5f91b171be12d8;p=thirdparty%2FPython%2Fcpython.git (merge 3.2) Issue #12451: xml.dom.pulldom: parse() now opens files in binary mode instead of the text mode (using the locale encoding) to avoid encoding issues. --- 3663abab59a397c971fb7e039f5f91b171be12d8 diff --cc Misc/NEWS index 3007cdc82e5e,1d7669888f45..7e2831a11c65 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -209,6 -51,6 +209,9 @@@ Core and Builtin Library ------- ++- Issue #12451: xml.dom.pulldom: parse() now opens files in binary mode instead ++ of the text mode (using the locale encoding) to avoid encoding issues. ++ - Issue #12147: Adjust the new-in-3.2 smtplib.send_message method for better conformance to the RFCs: correctly handle Sender and Resent- headers.