From: Brett Cannon Date: Sun, 15 Apr 2012 23:05:31 +0000 (-0400) Subject: Try to get hg to treat importlib.h as binary. X-Git-Tag: v3.3.0a3~209 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c1b3f63653d973e99311797540c6aad2448f97b2;p=thirdparty%2FPython%2Fcpython.git Try to get hg to treat importlib.h as binary. --- diff --git a/Python/freeze_importlib.py b/Python/freeze_importlib.py index a069a0b4d206..9cce0b1e7a45 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 698023188bbb..f11dcbb131c5 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, }; + \ No newline at end of file