]> 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)
commit1eb4f28c6db5dd6362341a5f4defc09ef0e7942d
treeb4bdd8e768e5f467afa90f40ca17db86f01bd480
parentf188bc5d4618103bd86a49a6b473e4a86e6b22b7
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