I am looking into pylons source code base. As part of that, I am
seeing the webob library.

Its Request and Response classes has more functions and I saw that
Pylons extends the Request..

As per my WSGI study, WSGI accept environ as part of the serving the
request.  webob's Request classes wraps the environ and still provide
__setattr__() like method to behave like a dictionary and set/get
items with underlying environ dictionary.

Does this mean that Request class is 100% compatible with dict? like
iterators, keys(), items() etc methods?

I am curios to know why Request didn't extend the dict/dict like
structure instead of wrapping the dict object?

I am sorry if the question has been asked earlier. I am studying an
approach to make reusable WSGI application utilities like blog, forum,
comments, user profiles in pylons so that they be used as it is for
others applications.


Thank you,

Krish

--

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