Message8681
Logged In: YES
user_id=53196
If compile() is being used in exec mode with a non-
terminated multi-line string, it's not going to work unless
the application generates that copy itself in any event.
So without an interpreter fix, I'd think the string copy is
inevitable, and it might simplify things to have the
builtin function take care of it. It's something easy to
overlook at the application level and could thus be fixed
in one place rather than at each point of use.
On the other hand, I also noticed something I overlooked
when first encountering the problem - the 2.2 docs added
some text to compile() talking about this need for
termination. So it could be argued that it's now a
documented restriction, and should the newline append (with
any requisite string duplication) be needed, it leaves it
to the individual applications rather than forcing it in
the builtin.
Not to mention a documentation solution could thus be
declared already done.
|
|
Date |
User |
Action |
Args |
2007-08-23 13:58:33 | admin | link | issue501622 messages |
2007-08-23 13:58:33 | admin | create | |
|