The code you posted was clearly badly formed. You need to correct it
first.
The 'pass' function should always look like this: {{pass}}
If something only works in a strange, undocumented way, it is likely
to be broken in the future. This is nothing to do with backwards
compatibility, it is simply working as per the documentation.
On Mar 4, 10:42 am, szimszon <[email protected]> wrote:
> Don't know could be but
>
> The interpreter which checks the syntax about all the pass-es are in
> right place give me the syntax error. What I try to say that first I
> visit the page the msg is None so the "if" branch isn't executed at
> all.
>
> If I just byte compile the app I have the same syntax error message.
> And if I close the =XML(msg) with }} and open before pass everything
> is right. :(
>
> On márc. 4, 11:26, pbreit <[email protected]> wrote:
>
> > Oh, ok, I see, sorry about that. So it somehow dropped the closing ) after
> > =XML(msg).
> > Could your msg have any special characters in it? I see some UTF-8 related
> > diffs in the code for html.py recently.
>
>