lua-users home
lua-l archive

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


> why not to expose rawset()?  is it for security reasons?  it might be
> easier to provide a slightly patched version that only skips user's
> __newindex but still respects those defined by your environment.

In Lua, there are all sorts of ways to provide some functions to some
environments but not to others. (For instance, you can save a local copy
of rawset in a module before removing it from the global environment.)

-- Roberto