Author: Armin Rigo <[email protected]>
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')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to