It seems to me that this is a flat out bug: it should be the other way
around, (kw.update(tgparams)) and use kw from that point on.

~jon

On Jun 25, 3:18 pm, imix <[EMAIL PROTECTED]> wrote:
> Hi
>
> why does turbogears.url change its parameter tgparams?
>
> The line tgparams.update(kw) changes the dict itself so that i can not
> use it without copying it beforehand (if I want to use the dict in
> another location without the addition of kw). Is this intentional? If
> yes, what is the reasoning behind it?
>
> thanks
>
> Stefan


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

Reply via email to