Am 18.03.2010 um 18:53 schrieb John Lorance:

Diez,
Just so that I am reading you (and this thread) clearly here about
controller instantiation... all controller classes are instantiated as
objects on a per request basis.. yes?

No.


 Therefore, if I have a sub
controller with an __init__ that does some work needed, common to all
my controller class methods, it can assign local (self) attributes in
a thread/request safe way, yes?

No.

The only controller that currently gets instantiated on a per-request- base is the root-controller. And I don't read anything else from the _lookup/_default docs either.

HTH,

Diez

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