On Fri, 2011-12-16 at 07:31 +0000, Joshua Partogi wrote:
> Hello,
> 
> I have been looking at pyramid lately and quite like it. However I
> found something that is semantically does not feel quite right. I used
> the HTTPFound for redirecting pages eventhough there isn't really any
> exception. Why is the HTTPFound inside the exceptions package?

All classes in the httpexception package are exception types (in the
Python) sense but also Response objects (in the WebOb sense).  If I had
it to do all over again, I'd put them in the pyramid.response package
and then document that they could also be used as exceptions, but c'est
la vie.

- C


> 
> -- 
> @jpartogi
> 


-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to