On Fri, Feb 20, 2009 at 07:54, Jorge Vargas <[email protected]> wrote: > > On Thu, Feb 19, 2009 at 10:31 PM, Mark Ramm <[email protected]> > wrote: >> >> And as of now, I'd consider TG2 at a full feature freeze except for the >> potential internationalization changes in #1999. Any exceptions to this >> need to be explicitly approved by me, or Florent. >> > Ok I got an acceptable patch for this. it *still* uses turbojson BUT > it removes the buffet layer. it has only one problem which is one of > the tickets you closed, there is no way for the templating engine to > understand this unless we make the code more complex. > http://trac.turbogears.org/ticket/2194#comment:10, therefore that > feature can't be used in json rendering. > > http://trac.turbogears.org/attachment/ticket/2212/noTJ.patch
Jorge, The try/except inside render_json() (tg/render.py) is catching all kinds of exceptions. Is that on purpose ? Shouldn't it catch only ImportError exceptions ? Or do you expect errors with turbojson jsonifying the template_vargs... ? BTW, nice job... :) Cheers, Roger --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
