Do not use CFFI access by default on PyPy

This commit is contained in:
Andrew Murray 2023-06-28 17:57:02 +10:00
parent e5188f6815
commit 811bfe3658

View File

@ -107,8 +107,7 @@ except ImportError as v:
raise raise
# works everywhere, win for pypy, not cpython USE_CFFI_ACCESS = False
USE_CFFI_ACCESS = hasattr(sys, "pypy_version_info")
try: try:
import cffi import cffi
except ImportError: except ImportError: