lua-users home
lua-l archive

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


Jérôme Vuarand writes:
> It would be nice to replace package.loaders with package.searchers in
> a future version, or eventually have both point to the same table for
> backward compatibility.

I've come across this inconsistency too when writing ModuleExecutionProposal
[1].  It doesn't help that package.loaders is an array of searchers rather than
loaders.  Python has a similar type of mechanism [2].

[1] http://lua-users.org/wiki/ModuleExecutionProposal
[2] http://www.python.org/dev/peps/pep-0302/