Here are a couple of changes that will be coming to a tg2 near you via pylons.

WebOb is a replacement for the request/response objects in Pylons, and
hopefully it will become a more widely used standard for
request/response objects in the WSGI world.  WebError provides a
super-cool debugging feature for TurboGears 2, which allows you to get
your tracebacks sent to the browser with lots and lots of information,
and even python prompts that allow you do run a debugger at various
points in the traceback's call stack.

This will require a small change in our template, but it is one of the
major things that I wanted to be done before we release a tg2
technology preview.

There are more things left to do, like creating transaction
middleware, writing some more docs, etc.  But we're getting much
closer.

--Mark


---------- Forwarded message ----------
From: Ben Bangert <[EMAIL PROTECTED]>
Date: Nov 9, 2007 4:46 PM
Subject: WebError and WebOb now in pylons-dev
To: [EMAIL PROTECTED]


I've re-factored the error handling in pylons-dev to now use
WebError, as well as cleaning up the WebError package a little bit
and reducing a lot of the visual clutter that was present in the
default pages.

I'm now actually happy enough with the appearance of exceptions in
the default template in WebError, that I have no desire to further
skin it for Pylons as well. Note that the XML view of the traceback
isn't ready yet, should you give it a go.

I'm curious if anyone has any feedback, or suggestions for anything
else to include on the exception traceback page.

Note that WebOb is now an option for use instead of Paste's
WSGIRequest/WSGIResponse globals should it be activated in
middleware.py. The WebOb objects provide significantly more
functionality.

Cheers,
Ben


-- 
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to