[pypy-dev] GCArray vs list

Armin Rigo arigo at tunes.org
Sat Oct 11 22:55:25 CEST 2014


Hi Timothy,

On 11 October 2014 17:18, Timothy Baldridge <tbaldridge at gmail.com> wrote:
> Awesome, thanks, that's exactly what I was thinking. I'll audit my code for
> such usages and see if that helps.

An automated way to do that is to use
rpython.rlib.debug.make_sure_not_resized() on the frame's attribute.
Maybe we should automatically add such a call early, for any list in
_virtualizable_, instead of crashing later as you reported.


A bientôt,

Armin.


More information about the pypy-dev mailing list