]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #12451: runpy: run_path() now opens the Python script in binary mode,
authorVictor Stinner <victor.stinner@haypocalc.com>
Sun, 3 Jul 2011 23:45:39 +0000 (01:45 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sun, 3 Jul 2011 23:45:39 +0000 (01:45 +0200)
commit6c471029821677e893a203a0127777735ff526c7
tree2df9ccc41397a020f74b3677d49574d6dbec070d
parentbbdc08ea6e5d3f2d9058991a65b6011dfbb8d233
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).
Lib/runpy.py
Lib/test/test_runpy.py
Misc/NEWS