diff options
author | Brett Cannon <brett@python.org> | 2012-04-15 23:05:31 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-04-15 23:05:31 (GMT) |
commit | c1b3f63653d973e99311797540c6aad2448f97b2 (patch) | |
tree | 0c724231c6e1394e6a81eae2896d52a42f275b36 /Python | |
parent | 8a1d04c64372d4706572671a21ff9d3e4a6374ca (diff) | |
download | cpython-c1b3f63653d973e99311797540c6aad2448f97b2.zip cpython-c1b3f63653d973e99311797540c6aad2448f97b2.tar.gz cpython-c1b3f63653d973e99311797540c6aad2448f97b2.tar.bz2 |
Try to get hg to treat importlib.h as binary.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/freeze_importlib.py | 1 | ||||
-rw-r--r-- | Python/importlib.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Python/freeze_importlib.py b/Python/freeze_importlib.py index a069a0b..9cce0b1 100644 --- a/Python/freeze_importlib.py +++ b/Python/freeze_importlib.py @@ -24,6 +24,7 @@ def main(input_path, output_path): lines.append('};\n') with open(output_path, 'w') as output_file: output_file.write('\n'.join(lines)) + output_file.write('\u0000') if __name__ == '__main__': diff --git a/Python/importlib.h b/Python/importlib.h index 6980231..f11dcbb 100644 --- a/Python/importlib.h +++ b/Python/importlib.h @@ -3107,3 +3107,4 @@ unsigned char _Py_M__importlib[] = { 13,12,9,12,15,12,17,15,2,6,2,12,41,18,25,12, 23,12,15,24,34,12,45, }; + |