Author: Armin Rigo <ar...@tunes.org> Branch: cpyext-gc-support-2 Changeset: r82221:5eb12aee635c Date: 2016-02-13 16:43 +0100 http://bitbucket.org/pypy/pypy/changeset/5eb12aee635c/
Log: next fix diff --git a/pypy/module/cpyext/pyobject.py b/pypy/module/cpyext/pyobject.py --- a/pypy/module/cpyext/pyobject.py +++ b/pypy/module/cpyext/pyobject.py @@ -61,9 +61,9 @@ w_type = from_ref(space, rffi.cast(PyObject, obj.c_ob_type)) w_obj = space.allocate_instance(self.W_BaseObject, w_type) track_reference(space, obj, w_obj) - if w_type is not space.gettypefor(self.W_BaseObject): - state = space.fromcache(RefcountState) - state.set_lifeline(w_obj, obj) + #if w_type is not space.gettypefor(self.W_BaseObject): + # state = space.fromcache(RefcountState) + # state.set_lifeline(w_obj, obj) return w_obj typedescr_cache = {} _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit