commit | 1947477072c22760ad324cf571d36cccc3fc1213 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Wed May 11 00:14:28 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Wed May 11 00:14:28 2011 +0200 |
tree | 676583f93b3ad00e590cd760169e2f9cb4b59166 | |
parent | cd9dd3797462b8827f5289e84cd9daa1488783eb [diff] |
Close #10419, issue #6011: build_scripts command of distutils handles correctly non-ASCII path (path to the Python executable). 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.