]> granicus.if.org Git - python/commit
Close #10419, issue #6011: build_scripts command of distutils handles correctly
authorVictor Stinner <victor.stinner@haypocalc.com>
Tue, 10 May 2011 22:14:28 +0000 (00:14 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Tue, 10 May 2011 22:14:28 +0000 (00:14 +0200)
commit1947477072c22760ad324cf571d36cccc3fc1213
tree676583f93b3ad00e590cd760169e2f9cb4b59166
parentcd9dd3797462b8827f5289e84cd9daa1488783eb
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.
Lib/distutils/command/build_scripts.py
Misc/NEWS