[Python-checkins] cpython: Issue #15103: remove the NUL character (serving as a Mercurial binary marker)
antoine.pitrou
python-checkins at python.org
Tue Jun 19 16:37:01 CEST 2012
http://hg.python.org/cpython/rev/7d86e207598f
changeset: 77516:7d86e207598f
user: Antoine Pitrou <solipsis at pitrou.net>
date: Tue Jun 19 16:33:39 2012 +0200
summary:
Issue #15103: remove the NUL character (serving as a Mercurial binary marker) from Python/importlib.h.
Instead the email notification hook uses a configuration option to omit importlib.h diffs.
files:
Python/freeze_importlib.py | 1 -
Python/importlib.h | Bin
2 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/Python/freeze_importlib.py b/Python/freeze_importlib.py
--- a/Python/freeze_importlib.py
+++ b/Python/freeze_importlib.py
@@ -24,7 +24,6 @@
lines.append('};\n')
with open(output_path, 'w', encoding='utf-8') as output_file:
output_file.write('\n'.join(lines))
- output_file.write('/* Mercurial binary marker: \x00 */')
# Avoid a compiler warning for lack of EOL
output_file.write('\n')
diff --git a/Python/importlib.h b/Python/importlib.h
index c9431e49e929cf16e5376c1c6b9e4ba09e891bda..0b633ab529225b8428d0d538954c52ecd3f43cfb
GIT binary patch
[stripped]
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list