lua-users home
lua-l archive

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


> On 22 August 2010 09:09, Stuart P. Bentley <stuart@testtrack4.com> wrote:
> > It'd probably be a good idea to make rejecting bytecode in load() an #ifdef,
> > with a prominent note in the manual / README that it should be defined in
> > essentially anything that runs editable scripts and/or doesn't have its own
> > bytecode verification routine.
> 
> Maybe having load() reject bytecode and adding a debug.load() that
> accepts it would communicate the right message.

Note that, in 5.2, load has an extra parameter that controls whether
it accepts binary chunks.

-- Roberto