[pypy-commit] cffi default: Add the Verifier's version number.

arigo noreply at buildbot.pypy.org
Sat Jul 28 22:26:04 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r736:dbd12e137abe
Date: 2012-07-28 22:25 +0200
http://bitbucket.org/cffi/cffi/changeset/dbd12e137abe/

Log:	Add the Verifier's version number.

diff --git a/cffi/verifier.py b/cffi/verifier.py
--- a/cffi/verifier.py
+++ b/cffi/verifier.py
@@ -16,7 +16,7 @@
         self.preamble = preamble
         self.kwds = kwds
         #
-        key = '\x00'.join([sys.version[:3], __version__, preamble] +
+        key = '\x00'.join(['1', sys.version[:3], __version__, preamble] +
                           ffi._cdefsources)
         k1 = hex(binascii.crc32(key[0::2]) & 0xffffffff).lstrip('0').rstrip('L')
         k2 = hex(binascii.crc32(key[1::2]) & 0xffffffff).lstrip('0').rstrip('L')


More information about the pypy-commit mailing list