Re: [Zope-dev] ZConfig: multi-line values

2012-01-06 Thread Chris Withers

On 05/01/2012 21:07, Fred Drake wrote:

On Thu, Jan 5, 2012 at 1:47 PM, Chris Withersch...@simplistix.co.uk  wrote:

Is there any way in ZConfig to allow a file that looks like this:

...

...or some other way of spelling multi-line values for a key?


Nope, sorry.  I played with adding that at one point, but didn't have
enough time or motivation.  There are a lot of limitations in the current
syntax.


Meh, I find it covers all things that should be covered pretty well :-)

Out of interest, if I implemented support for filters inside handler 
sections, would you crank out a release?


Would Zope's schema need to change to get that or does Zope 2 use 
ZConfig's logger schema for handlers?


cheers,

Chris

--
Simplistix - Content Management, Batch Processing  Python Consulting
- http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] ZConfig: multi-line values

2012-01-06 Thread Fred Drake
On Fri, Jan 6, 2012 at 2:33 AM, Chris Withers ch...@simplistix.co.uk wrote:
 if I implemented support for filters inside handler sections, would you
 crank out a release?

I'd definitely consider it.  Someone made a mess of the ZConfig build
(some silliness about using setup.py as a test driver), so you might need
to look at that to make the buildout useful.


  -Fred

-- 
Fred L. Drake, Jr.    fdrake at acm.org
A person who won't read has no advantage over one who can't read.
   --Samuel Langhorne Clemens
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] ZConfig: multi-line values

2012-01-05 Thread Chris Withers

Hi Fred,

Is there any way in ZConfig to allow a file that looks like this:

somesection
key1 value1
key2
multi
line
value
/key2
/somesection

...or some other way of spelling multi-line values for a key?

If so, how do I phrase it in the schema?

cheers,

Chris

--
Simplistix - Content Management, Batch Processing  Python Consulting
- http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] ZConfig: multi-line values

2012-01-05 Thread Fred Drake
On Thu, Jan 5, 2012 at 1:47 PM, Chris Withers ch...@simplistix.co.uk wrote:
 Is there any way in ZConfig to allow a file that looks like this:
...
 ...or some other way of spelling multi-line values for a key?

Nope, sorry.  I played with adding that at one point, but didn't have
enough time or motivation.  There are a lot of limitations in the current
syntax.


  -Fred

-- 
Fred L. Drake, Jr.    fdrake at acm.org
A person who won't read has no advantage over one who can't read.
   --Samuel Langhorne Clemens
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )