[pypy-dev] FAQ entry

Armin Rigo arigo at tunes.org
Wed Apr 8 09:10:03 CEST 2015


Hi Fijal,

On 7 April 2015 at 20:14, Maciej Fijalkowski <fijall at gmail.com> wrote:
> Are you sure this is true for the case where object is found inside a
> cycle? (these days, they're run, not sure if in 2.7 or 3.x)

Ah, you're right.  There is always the case where objects are
reachable from a cycle (even if they are not *inside* a cycle
themselves).  Even on CPython, one thread can make purely thread-local
objects in this situation.  Then the cycle can be broken in an
unrelated thread and the __del__ called from there.


A bientôt,

Armin.


More information about the pypy-dev mailing list