commit | ba9c6645f795c7bf82ee097a240cbd060605afe7 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Wed May 11 00:57:29 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Wed May 11 00:57:29 2011 +0200 |
tree | b0df120024a541db1ef5f8a75f581be160712523 | |
parent | 136726537ffd92b0f3e8dabb23023ed514852e2e [diff] |
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.