lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Mar 29, 2015 at 1:03 AM, Jay Carlson <nop@nop.com> wrote:
> On Mar 28, 2015, at 12:18 PM, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
>
>> So, our view is: we do not want to treat _ENV in a special way because
>> really there is nothing special about it.
>
> If this were Python, a special case would be created so upvalue environment munging would have some reasonable, unsurprising result.
>
> ...even though the debug.* interface is not intended for casual use...
>
> Ten years later, everyone would deeply regret adding it to the pile of other special cases.
>
> Jay

Fortunately Lua is not Python.


Best regards,
Boris Nagaev