Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r85563:bd220c268bc9 Date: 2016-07-05 16:51 +0200 http://bitbucket.org/pypy/pypy/changeset/bd220c268bc9/
Log: Potential fix for the rare bug that shows up occasionally with cpython (and more often with pypy). According to reverse-debugger, it seems to be caused by a PyObject created in some earlier test that is freed in the current test. diff --git a/pypy/module/cpyext/test/test_cpyext.py b/pypy/module/cpyext/test/test_cpyext.py --- a/pypy/module/cpyext/test/test_cpyext.py +++ b/pypy/module/cpyext/test/test_cpyext.py @@ -129,6 +129,7 @@ return str(soname) def freeze_refcnts(self): + rawrefcount._dont_free_any_more() return #ZZZ state = self.space.fromcache(RefcountState) self.frozen_refcounts = {} _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit