[Zope-dev] Re: [Zope] Re: [Warning] Zope 3 component architecture
(CA) not reliably usable for registrations from Python
Dieter Maurer
dieter at handshake.de
Thu Jan 11 15:32:36 EST 2007
Fred Drake wrote at 2007-1-10 17:30 -0500:
>On 1/10/07, Dieter Maurer <dieter at handshake.de> wrote:
>> *It* must be informed whenever it is used in a different thread.
>
>Perhaps it could use some thread-local data to keep track of this?
>threading.local comes to mind.
This is a nice idea but in this case not very practical:
The module provides lots of functions. Each of these
functions would need to get instrumented to interprete
the thread-local variable and take appropriate action.
--
Dieter
More information about the Zope-Dev
mailing list