[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: 5.2 _ENV garbage collection question
- From: Jerome Vuarand <jerome.vuarand@...>
- Date: Mon, 27 Jun 2011 11:29:48 +0200
2011/6/27 steve donovan <email@example.com>:
> On Mon, Jun 27, 2011 at 11:08 AM, Gaspard Bucher <firstname.lastname@example.org> wrote:
>> collectgarbage() ---- does not collect old "foo". Why ? Where is it stored ?
>> print('end') -- the garbage collection after 'end' removes old "foo".
> It's still there, as a global of the original environment.
But the original environment is unreachable (except by the gc_mt.__gc
function itself), and it should be collected.