[Checkins] SVN: z3c.unconfigure/trunk/src/z3c/unconfigure/README.txt Add a failing test

Hanno Schlichting hanno at hannosch.eu
Wed Jun 17 05:43:55 EDT 2009


On Wed, Jun 17, 2009 at 11:39 AM, Wichert Akkerman<wichert at wiggy.net> wrote:
> On 6/17/09 11:35 AM, Hanno Schlichting wrote:
>>
>> On Wed, Jun 17, 2009 at 11:31 AM, Wichert Akkerman<wichert at wiggy.net>
>>  wrote:
>>>
>>> On 6/17/09 11:30 AM, Hanno Schlichting wrote:
>>>>
>>>> Might I suggest that you upgrade to zope.configuration 3.6.0 and use
>>>> the new exclude directive instead.
>>>
>>> Does that work in Zope 2.10?
>>
>> Looking at http://pypi.python.org/pypi/zope.configuration I don't see
>> anything in the changelog that could cause any incompatibilities. You
>> never know until you try, though ;)
>
> It does not seem to have any effect. As a test I used this overrides.zcml:

Looking into the documentation it states:

"The ``exclude`` standard directive is provided for inhibiting
unwanted configuration. It is used to exclude processing of
configuration files. It is useful when including a configuration that
includes some other configuration that you don't want.

It must be used BEFORE including the files to be excluded."

So using it in an overrides won't work indeed.

Hanno

P.S. You see more deprecation warnings now, thanks to this change:
"Don't suppress deprecation warnings any more in 'zope.configuration'
package level. This makes it more likely other packages will generate
deprecation warnings now, which will allow us to remove more outdated
ones."


More information about the Checkins mailing list