On Fri, Feb 20, 2009 at 10:35 AM, Roger Demetrescu
<roger.demetre...@gmail.com> wrote:
>
> On Fri, Feb 20, 2009 at 07:54, Jorge Vargas <jorge.var...@gmail.com> wrote:
>>
>> On Thu, Feb 19, 2009 at 10:31 PM, Mark Ramm <mark.mchristen...@gmail.com> 
>> 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... ?
you are totally right, it was late and I was tried. I'll update the patch.

>
>
>
> BTW, nice job...  :)
>
thanks, sadly we didn't found out about this before so we could get
rid of TJ for 2.0final :( I'm still missing a way to handle 'jsonify'
of SQLAlchemy stuff.

> 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 turbogears-trunk@googlegroups.com
To unsubscribe from this group, send email to 
turbogears-trunk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to