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 import time. I'm curious to hear
> more about why you need to do this - after all, you're talking about
> listening to request start and end, and this happens after import time.
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 either.
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -