Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r49499:fe6032125f68 Date: 2011-11-17 18:23 +0100 http://bitbucket.org/pypy/pypy/changeset/fe6032125f68/
Log: Fix. diff --git a/pypy/rpython/lltypesystem/lltype.py b/pypy/rpython/lltypesystem/lltype.py --- a/pypy/rpython/lltypesystem/lltype.py +++ b/pypy/rpython/lltypesystem/lltype.py @@ -1788,7 +1788,8 @@ cache = d.setdefault(parent, {}) except RuntimeError: # pointer comparison with a freed structure _subarray._cleanup_cache() - cache = d.setdefault(parent, {}) # try again + # try again + return _subarray._makeptr(parent, baseoffset_or_fieldname, solid) try: subarray = cache[baseoffset_or_fieldname] except KeyError: _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit