Re: [Zope-dev] Re: [Zope] Re: [Warning] Zope 3 component architecture (CA) not reliably usable for registrations from Python

2007-01-11 Thread Dieter Maurer
Fred Drake wrote at 2007-1-10 17:30 -0500: >On 1/10/07, Dieter Maurer <[EMAIL PROTECTED]> 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 th

Re: [Zope-dev] Re: [Zope] Re: [Warning] Zope 3 component architecture (CA) not reliably usable for registrations from Python

2007-01-10 Thread Fred Drake
On 1/10/07, Dieter Maurer <[EMAIL PROTECTED]> 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. -Fred -- Fred L. Drake, Jr. "Every sin is the result of a collaboratio