In 1.55.2 I reverted to the old template code. I will fix the new one (if possible) and include it in the next version.
Massimo On Jan 8, 7:27 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > Auch.... will revert back until fixed. > > Massimo > > On Jan 8, 4:32 am, Iceberg <iceb...@21cn.com> wrote: > > > On Jan8, 11:40am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > We waited enough. To many changes to keep holding on. > > > > web2py 1.55 is out. > > > > Changelog: > > > - New template engine (parsing is 6 times faster, from 2.8 to 0.5ms/ > > > page). Gives better errors and you can now do {{="{{hello}}"}} which > > > displays {{hello}}. > > > Great news, but, this view.html breaks: > > {{ > > import datetime > > }} > > > {{=datetime.date( # this breaks > > 2009,1,8)}} > > > I am not sure whether 1.55rc4 has this problem, because I already SHIFT > > +DEL my 1.55rc4 package. But it was definitely ok with much earlier > > versions. > > > Besides, it would be nice if the following pattern will also be > > supported. > > {{=datetime.date(2009,1,8) # this trailing comment also causes > > error}} > > > I guess this problem is caused by the new template engine. (Don't get > > me wrong, 6 times faster is awesome. ^_^) > > > Iceberg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---