[Zope-dev] Zope Tests: 7 OK

2007-01-11 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Wed Jan 10 12:00:00 2007 UTC to Thu Jan 11 12:00:00 2007 UTC. There were 7 messages: 7 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.6 Python-2.1.3 : Linux From: Zope Unit Tests Date: Wed Jan 10 21:08:34 EST 2007

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

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

2007-01-11 Thread Dieter Maurer
Stephan Richter wrote at 2007-1-11 06:58 -0500: On Thursday 11 January 2007 05:59, Chris Withers wrote: Stephan Richter wrote: If you are populating the CA before ZCML is fully parsed, then: Why is the CA predicated on ZCML?! Because that's how it works by default. Another way of saying this

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

2007-01-11 Thread Stephan Richter
On Wednesday 10 January 2007 05:45, Martijn Faassen wrote: I'm a bit surprised why the huge [warning] is necessary. What I understand you're saying is that you cannot use the component architecture before it's done initializing. You also assert that you need a registration to happen at Python

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

2007-01-11 Thread Chris Withers
Stephan Richter wrote: If you are populating the CA before ZCML is fully parsed, then: Why is the CA predicated on ZCML?! Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev

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

2007-01-11 Thread Stephan Richter
On Thursday 11 January 2007 05:59, Chris Withers wrote: Stephan Richter wrote: If you are populating the CA before ZCML is fully parsed, then: Why is the CA predicated on ZCML?! Because that's how it works by default. Another way of saying this is: Collect all registrations before executing

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

2007-01-11 Thread Philipp von Weitershausen
Chris Withers wrote: Stephan Richter wrote: If you are populating the CA before ZCML is fully parsed, then: Why is the CA predicated on ZCML?! It's not. And Stephan's Collect all registrations before executing them! isn't actually necessary either (it's just necessary for conflict

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

2007-01-11 Thread Dieter Maurer
Stephan Richter wrote at 2007-1-11 03:12 -0500: ... If you are populating the CA before ZCML is fully parsed, then: DO NOT POPULATE THE CA WHILE IMPORTING!!! This is so bad on so many levels. Dieter, your problem is just one example. Another is that unit tests have no chance to work reliably