[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua registry, environment, and threads.
- From: Leo Razoumov <slonik.az@...>
- Date: Sat, 9 Jan 2010 06:13:00 -0500
On 2010-01-09, Mark Hamburg <mark@grubmah.com> wrote:
> I will say that I can appreciate the desire to deprecate setfenv and getfenv.
> There is a highly-legitimate use for setfenv with respect to sandboxing,
> but this can better be dealt with as part of the load process.
As it was mention in other postings it is very convenient to load a
chunk just *once* and call it later multiple times with different
environments to achieve different results. I am not sure whether such
a trick will work with "in" construct.
--Leo--
- References:
- Lua registry, environment, and threads., Christian Tellefsen
- Re: Lua registry, environment, and threads., Christian Tellefsen
- Re: Lua registry, environment, and threads., Roberto Ierusalimschy
- Re: Lua registry, environment, and threads., Mark Hamburg
- Re: Lua registry, environment, and threads., Patrick Donnelly
- Re: Lua registry, environment, and threads., Roberto Ierusalimschy
- Re: Lua registry, environment, and threads., Enrico Colombini
- Re: Lua registry, environment, and threads., Roberto Ierusalimschy
- Re: Lua registry, environment, and threads., Edgar Toernig
- Re: Lua registry, environment, and threads., Mark Hamburg