lua-users home
lua-l archive

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


GrayFace wrote:
> As for __pairs and __ipairs, they have potential to break sandboxing
> or persistence by making it possible to fool the functions of
> framework that were written for 5.1.

You're right of course.

So I've reconsidered and now the upwards-compatible 5.2 features
in LuaJIT are *DISABLED* by default. Even though they are unlikely
to break anything for most people. See src/Makefile for the
-DLUAJIT_ENABLE_LUA52COMPAT switch.

The truly incompatible 5.2 features, such as _ENV, will get an
extra switch when (and if) I'll add them.

--Mike