mirror of
https://github.com/python/cpython.git
synced 2026-05-13 07:59:04 -04:00
cfd365b937
build_scripts command of packaging now 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.