Re: [Zope-dev] Re: unregistering components?

2007-11-25 Thread Baiju M
- Philipp von Weitershausen [EMAIL PROTECTED] wrote: Wichert Akkerman wrote: Previously Ross Patterson wrote: Chris Withers [EMAIL PROTECTED] writes: Hi All, Does the component architecture support un-registering adapters and the like? From zope.component.interfaces:

[Zope-dev] deferredimport?

2007-11-25 Thread Chris Withers
Hi All, Is deferredimport handy for dealing with circular import problems, or was it targetted at solving another problem? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___

Re: [Zope-dev] Re: unregistering components?

2007-11-25 Thread Chris Withers
Philipp von Weitershausen wrote: class IComponentRegistry(interface.Interface): I think you should use zope.component.getGlobalSiteManager() for this. So getGlobalSiteManager returns a component registry? If so, how come it's not called getGlobalComponentRegistry? How do you set up nested

[Zope-dev] Zope Tests: 5 OK

2007-11-25 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Sat Nov 24 13:00:00 2007 UTC to Sun Nov 25 13:00:00 2007 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Sat Nov 24 20:51:20 EST 2007

Re: [Zope-dev] Re: unregistering components?

2007-11-25 Thread Philipp von Weitershausen
On 25 Nov 2007, at 13:37 , Chris Withers wrote: Philipp von Weitershausen wrote: class IComponentRegistry(interface.Interface): I think you should use zope.component.getGlobalSiteManager() for this. So getGlobalSiteManager returns a component registry? Yes. It returns the one and only

[Zope-dev] Re: deferredimport?

2007-11-25 Thread Philipp von Weitershausen
Chris Withers wrote: Is deferredimport handy for dealing with circular import problems, Sure. or was it targetted at solving another problem? From zope.deferredimport/trunk/src/zope/deferredimport/README.txt or its PyPI page (http://pypi.python.org/pypi/zope.deferredimport/3.4.0):

[Zope-dev] Escaping special characters in ZCTextIndex.QueryParser?

2007-11-25 Thread Robert Casties
Hi, is it possible to escape parentheses in ZCTextIndex searches? If not, why not and how can I do a simple search in an index bypassing the QueryParser? I have an index where words can contain parentheses and I am unable to enter a query for these words because the QueryParser interprets all

[Zope-dev] Re: deferredimport?

2007-11-25 Thread Chris Withers
Philipp von Weitershausen wrote: Chris Withers wrote: Is deferredimport handy for dealing with circular import problems, Sure. Is this it's primary reason for existence? Often, especially for package modules, you want to import names for convenience, but not actually perform the

Re: [Zope-dev] Re: unregistering components?

2007-11-25 Thread Chris Withers
Philipp von Weitershausen wrote: On 25 Nov 2007, at 13:37 , Chris Withers wrote: Philipp von Weitershausen wrote: class IComponentRegistry(interface.Interface): I think you should use zope.component.getGlobalSiteManager() for this. So getGlobalSiteManager returns a component registry?