lua-users home
lua-l archive

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


Am Mi., 16. Nov. 2022 um 10:48 Uhr schrieb Sean Conner <sean@conman.org>:
>
> > print(io.stdout.close)
> function: 0x8066b1c
> > print(io.stdout.__index)
> nil

Thank you, this is an interesting point.

.. just more cosmetic I think? (or could a nasty and/or ingenious
hacker really do more harm, if the pointer address or existence of
__index is presented? ... if yes, would it make sense to hide ALL meta
functions like this, so also the close function?).