[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.3, _ENV and load(). What a mess.
- From: Jay Carlson <nop@...>
- Date: Sat, 28 Mar 2015 21:03:18 -0400
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