> So what about having a 'params' argument but keeping the current > behavior if 'params' is not set. That would allow backward > compatibility. > > Then if 'params' is set and another argument doesn't correspond to any > path variable, I guess you'd raise an error.
Well, what we did in tg2 was merge the values from the params dict (if it's present) into the kwargs that was passed into url and redirect. This allows you to either passin thing as kwargs, or pass the params dict, or, if you're slightly crazy do both ;) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
