[Python-checkins] cpython (3.4): update magic number for #20625
larry.hastings
python-checkins at python.org
Mon Mar 17 07:32:23 CET 2014
http://hg.python.org/cpython/rev/e5cde3fd7c74
changeset: 89742:e5cde3fd7c74
branch: 3.4
user: Benjamin Peterson <benjamin at python.org>
date: Wed Feb 19 18:05:36 2014 -0500
summary:
update magic number for #20625
files:
Lib/importlib/_bootstrap.py | 3 +-
Python/importlib.h | 320 ++++++++++++------------
2 files changed, 162 insertions(+), 161 deletions(-)
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
@@ -418,12 +418,13 @@
# Python 3.4a1 3280 (remove implicit class argument)
# Python 3.4a4 3290 (changes to __qualname__ computation)
# Python 3.4a4 3300 (more changes to __qualname__ computation)
+# Python 3.4rc2 3310 (alter __qualname__ computation)
#
# MAGIC must change whenever the bytecode emitted by the compiler may no
# longer be understood by older implementations of the eval loop (usually
# due to the addition of new opcodes).
-MAGIC_NUMBER = (3300).to_bytes(2, 'little') + b'\r\n'
+MAGIC_NUMBER = (3310).to_bytes(2, 'little') + b'\r\n'
_RAW_MAGIC_NUMBER = int.from_bytes(MAGIC_NUMBER, 'little') # For import.c
_PYCACHE = '__pycache__'
diff --git a/Python/importlib.h b/Python/importlib.h
--- a/Python/importlib.h
+++ b/Python/importlib.h
[stripped]
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list