diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-11 00:57:29 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-11 00:57:29 +0200 |
commit | df5f044a0cd85f1d6650b48c7badf5b67213bd6d (patch) | |
tree | 1a3a5c2ced7c4788dbf69669daccebe1671f16ea /Python/Python-ast.c | |
parent | 07c729414e687119bfdc223dc693df04de024014 (diff) | |
download | cpython-df5f044a0cd85f1d6650b48c7badf5b67213bd6d.tar.gz |
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.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions