summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-05-11 00:57:29 +0200
committerVictor Stinner <victor.stinner@haypocalc.com>2011-05-11 00:57:29 +0200
commitdf5f044a0cd85f1d6650b48c7badf5b67213bd6d (patch)
tree1a3a5c2ced7c4788dbf69669daccebe1671f16ea /Python/Python-ast.c
parent07c729414e687119bfdc223dc693df04de024014 (diff)
downloadcpython-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