Marius Gedminas wrote:

The default value for function arguments is computed during import time.
Pylons imports the controllers dynamically during request processing,
and that's the only reason it even works -- but it uses the HTTP_HOST
value of the first request that triggered the import.

I don't know the correct solution; you might need to write your own
cache decorator.  http://pypi.python.org/pypi/decorator is useful for
those.

Thanks for the explanation. I've ended up redesigning my application a bit.

--
Juliusz Gonera
http://juliuszgonera.com/

--
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