diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-03 23:45:39 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-03 23:45:39 (GMT) |
commit | 6c471029821677e893a203a0127777735ff526c7 (patch) | |
tree | 2df9ccc41397a020f74b3677d49574d6dbec070d /Misc | |
parent | bbdc08ea6e5d3f2d9058991a65b6011dfbb8d233 (diff) | |
download | cpython-6c471029821677e893a203a0127777735ff526c7.zip cpython-6c471029821677e893a203a0127777735ff526c7.tar.gz cpython-6c471029821677e893a203a0127777735ff526c7.tar.bz2 |
Issue #12451: runpy: run_path() now opens the Python script in binary mode,
instead of text mode using the locale encoding, to support other encodings than
UTF-8 (scripts using the coding cookie).
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -19,6 +19,10 @@ Core and Builtins Library ------- +- Issue #12451: runpy: run_path() now opens the Python script in binary mode, + instead of text mode using the locale encoding, to support other encodings + than UTF-8 (scripts using the coding cookie). + - 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. |