diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-11 00:57:29 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-11 00:57:29 +0200 |
commit | ba9c6645f795c7bf82ee097a240cbd060605afe7 (patch) | |
tree | b0df120024a541db1ef5f8a75f581be160712523 /Lib/idlelib/ScriptBinding.py | |
parent | 136726537ffd92b0f3e8dabb23023ed514852e2e (diff) | |
download | cpython-git-ba9c6645f795c7bf82ee097a240cbd060605afe7.tar.gz |
Issue #10419: Fix build_scripts command of distutils to handle correctly
non-ASCII scripts. Open and write the script in binary mode, but ensure that
the shebang is decodable from UTF-8 and from the encoding of the script.
Diffstat (limited to 'Lib/idlelib/ScriptBinding.py')
0 files changed, 0 insertions, 0 deletions