[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 5.2 feature list?
- From: askok@...
- Date: Mon, 02 Oct 2006 16:27:41 +0300
On Mon, 02 Oct 2006 07:05:17 -0400
John Belmonte <john@neggie.net> 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.
--John
Me, too. I would regard this as a bug, in fact - is there
a reason behind the current (lack of) functionality?
-asko