[pypy-commit] pypy py3.5-marshal3: Bump the magic number, to avoid using old .pyc files

arigo pypy.commits at gmail.com
Sat Aug 27 15:01:39 EDT 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5-marshal3
Changeset: r86620:8590483012bd
Date: 2016-08-27 21:00 +0200
http://bitbucket.org/pypy/pypy/changeset/8590483012bd/

Log:	Bump the magic number, to avoid using old .pyc files

diff --git a/pypy/interpreter/pycode.py b/pypy/interpreter/pycode.py
--- a/pypy/interpreter/pycode.py
+++ b/pypy/interpreter/pycode.py
@@ -37,7 +37,7 @@
 # different value for the highest 16 bits. Bump pypy_incremental_magic every
 # time you make pyc files incompatible
 
-pypy_incremental_magic = 64 # bump it by 16
+pypy_incremental_magic = 80 # bump it by 16
 assert pypy_incremental_magic % 16 == 0
 assert pypy_incremental_magic < 3000 # the magic number of Python 3. There are
                                      # no known magic numbers below this value


More information about the pypy-commit mailing list