that would be correct but in general the form of routes_in is more
complex than the reverse of routes_out.

Massimo

On May 10, 11:09 am, Álvaro Justen [Turicas] <alvarojus...@gmail.com>
wrote:
> On Sun, May 10, 2009 at 12:24 PM, mdipierro <mdipie...@cs.depaul.edu> wrote:
> > No because
>
> >              ('/$c/$f', '/fubar/$c/$f'),
>
> > reads
>
> >              ('/(?P<c>\w+)/((?P<f>\w+)', '/fubar/\g<c>/\g<f>'),
>
> > Do not do
>
> >> routes_out = [(x, y) for (y, x) in routes_in]
>
> I don't understand this.
>
> With this code, routes_out = (('/fubar/$c/$f', '/$c/$f'))
> Is this incorrect?
>
> --
>  Álvaro Justen
>  Peta5 - Telecomunicações e Software Livre
>  21 3021-6001 / 9898-0141
>  http://www.peta5.com.br/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to