Mike Orr wrote:
> must be thread safe.  In Cheetah we purposely made Template instances
> not threadsafe because it's much more convenient to store state in the
> instance.  And the overhead of instantiating extra instances is so
> small it doesn't matter.

This is misleading. I've been sharing Cheetah template instances
between threads for years.  You  just need to turn off the searchList
and pass in anything threadlocal as arguments to the template methods
you define.  Thread safety is a usage issue, not something inherent in
Cheetah template instances.


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

Reply via email to