diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-04 00:08:50 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-04 00:08:50 (GMT) |
commit | e975af62f2a5f45307738dbd5220e8590c10f4a4 (patch) | |
tree | 0935172a2f824f61f7966dc9e73fff73673b4649 /Misc | |
parent | 6c471029821677e893a203a0127777735ff526c7 (diff) | |
download | cpython-e975af62f2a5f45307738dbd5220e8590c10f4a4.zip cpython-e975af62f2a5f45307738dbd5220e8590c10f4a4.tar.gz cpython-e975af62f2a5f45307738dbd5220e8590c10f4a4.tar.bz2 |
Issue #12451: pydoc: importfile() now opens the Python script in binary mode,
instead of text mode using the locale encoding, to avoid encoding issues.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -19,6 +19,9 @@ Core and Builtins Library ------- +- Issue #12451: pydoc: importfile() now opens the Python script in binary mode, + instead of text mode using the locale encoding, to avoid encoding issues. + - 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). |