diff options
Diffstat (limited to 'lib_pypy/cffi/verifier.py')
-rw-r--r-- | lib_pypy/cffi/verifier.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib_pypy/cffi/verifier.py b/lib_pypy/cffi/verifier.py index 59b78c216f..a500c7814a 100644 --- a/lib_pypy/cffi/verifier.py +++ b/lib_pypy/cffi/verifier.py @@ -50,7 +50,8 @@ class Verifier(object): if tag: raise TypeError("can't specify both 'modulename' and 'tag'") else: - key = '\x00'.join([sys.version[:3], __version_verifier_modules__, + key = '\x00'.join(['%d.%d' % sys.version_info[:2], + __version_verifier_modules__, preamble, flattened_kwds] + ffi._cdefsources) if sys.version_info >= (3,): |