]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
(merge 3.2) Issue #12451: xml.dom.pulldom: parse() now opens files in binary
authorVictor Stinner <victor.stinner@haypocalc.com>
Sun, 3 Jul 2011 23:27:37 +0000 (01:27 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sun, 3 Jul 2011 23:27:37 +0000 (01:27 +0200)
mode instead of the text mode (using the locale encoding) to avoid encoding
issues.

1  2 
Misc/NEWS

diff --cc Misc/NEWS
index 3007cdc82e5e071e9a8fcde78da56551ecbd8a4c,1d7669888f451c8d76defaa5a4c14bdf8ba47be6..7e2831a11c65ebe05dec9e86c611f5913fa0cf64
+++ 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.