lua-users home
lua-l archive

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

On Mon, 02 Oct 2006 07:05:17 -0400
 John Belmonte <> wrote:
Doug Currie wrote:
So, my request is that Lua 5.2 either
- apply tostring() to non-string "%s" arguments of string.format(), or - add a string.format option that applies tostring() to its argument,
and then performs the usual "%s" action.

I'd like to see the first implemented by having lua_tostring honor __tostring, and perhaps adding a lua_rawtostring if there is really
demand for it.


Me, too. I would regard this as a bug, in fact - is there a reason behind the current (lack of) functionality?