[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: setfenv/getfenv
- From: Tony Finch <dot@...>
- Date: Tue, 12 Jan 2010 21:05:52 +0000
On Tue, 12 Jan 2010, Leo Razoumov wrote:
>
> Correct me if I am wrong, in proxy tables for a key "foo"
> __index/__newindex are relevant only if the table does not already
> have key "foo". A chunk can do the following thing to mess everything
> up for all future invocations of the chunk within other "compartments"
If you don't want a chunk to mess with metatables, don't give it access to
the metatable functions.
Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.
- References:
- setfenv/getfenv, Roberto Ierusalimschy
- Re: setfenv/getfenv, Nicolas
- Re: setfenv/getfenv, Luiz Henrique de Figueiredo
- Re: setfenv/getfenv, Francesco Abbate
- Re: setfenv/getfenv, Nicolas
- Re: setfenv/getfenv, Roberto Ierusalimschy
- Re: setfenv/getfenv, Leo Razoumov
- Re: setfenv/getfenv, Roberto Ierusalimschy
- Re: setfenv/getfenv, Leo Razoumov
- Re: setfenv/getfenv, Roberto Ierusalimschy
- Re: setfenv/getfenv, Leo Razoumov