Author: Armin Rigo <[email protected]>
Branch:
Changeset: r80663:303dbcff1c35
Date: 2015-11-13 14:12 +0100
http://bitbucket.org/pypy/pypy/changeset/303dbcff1c35/
Log: Temporarily back out 3a7694159dfb until a solution is implemented to
avoid the many failures reported by buildbot.
diff --git a/rpython/rlib/rgc.py b/rpython/rlib/rgc.py
--- a/rpython/rlib/rgc.py
+++ b/rpython/rlib/rgc.py
@@ -46,7 +46,7 @@
"""
_pinned_objects.append(obj)
return True
-
+
class PinEntry(ExtRegistryEntry):
_about_ = pin
@@ -533,8 +533,12 @@
def _fetch_ffi():
global _ffi_cache
if _ffi_cache is None:
- import _cffi_backend
- _ffi_cache = _cffi_backend.FFI()
+ try:
+ import _cffi_backend
+ _ffi_cache = _cffi_backend.FFI()
+ except (ImportError, AttributeError):
+ import py
+ py.test.skip("need CFFI >= 1.0")
return _ffi_cache
@jit.dont_look_inside
@@ -812,7 +816,7 @@
pending.extend(get_rpy_referents(gcref))
all_typeids = {}
-
+
def get_typeid(obj):
raise Exception("does not work untranslated")
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit