Hi, is there a better way to fix this? The same kind of issue might arise elsewhere?
> Author: Hakan Ardo <hakan at debian.org> > Branch: > Changeset: r47722:bf3f65e2b1c2 > Date: 2011-09-30 19:48 +0200 > http://bitbucket.org/pypy/pypy/changeset/bf3f65e2b1c2/ > > Log: Hack to ensure that ll_arraycopy gets a proper > effectinfo.write_descrs_arrays > > diff --git a/pypy/rlib/rgc.py b/pypy/rlib/rgc.py > --- a/pypy/rlib/rgc.py > +++ b/pypy/rlib/rgc.py > @@ -143,6 +143,10 @@ > from pypy.rpython.lltypesystem.lloperation import llop > from pypy.rlib.objectmodel import keepalive_until_here > > + # XXX: Hack to ensure that we get a proper effectinfo.write_descrs_arrays > + if length > 0: > + dest[dest_start] = source[source_start] > + > # supports non-overlapping copies only > if not we_are_translated(): > if source == dest: -- Håkan Ardö _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev