aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2021-02-21 20:05:34 +0200
committerMatti Picus <matti.picus@gmail.com>2021-02-21 20:05:34 +0200
commit8e900f8ba82a7f2a1517d400b1e5f5c35dad2ad1 (patch)
tree2e86fed43093b6eb4ea6556ea585d4c5e27b4681 /lib_pypy/cffi
parentmerge intbount-improvements-3 (diff)
downloadpypy-8e900f8ba82a7f2a1517d400b1e5f5c35dad2ad1.tar.gz
pypy-8e900f8ba82a7f2a1517d400b1e5f5c35dad2ad1.tar.bz2
pypy-8e900f8ba82a7f2a1517d400b1e5f5c35dad2ad1.zip
update cffi to c16abb8f809f
Diffstat (limited to 'lib_pypy/cffi')
-rw-r--r--lib_pypy/cffi/verifier.py3
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,):