On 18-10-2007, Ian Bicking wrote:
> William Dode wrote:
>> Hi,
>> 
>> What do you think about adding access of routing_args in Request ?
>> 
>> I mean :
>> req.routing_args instead of req.environ['wsgiorg.routing_args']
>
> They are available in req.urlvars, but only the named variables, not the 
> positional ones.  I'm not sure how to expose both; maybe as two 
> attributes instead of one.  Handling the tuple is actually kind of 
> awkward, so a direct accessor isn't as nice.

I did'nt see any mention of routing_args or urlvars in the website
http://pythonpaste.org/webob/

No idea how to expose positional vars. I don't like to use them...

>
>> Maybe even inside params ?
>
> Yeah, I could see the benefit of that.
>

fine !

-- 
William Dodé  -  http://flibuste.net
Informaticien indépendant


_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users

Reply via email to