Re: [Zope-dev] zope.security changes

2009-02-06 Thread Chris Withers
Dieter Maurer wrote: Chris Withers wrote at 2009-1-30 18:50 +: Brian Sutherland wrote: zope.configuration.x zope.configuration.y Please don't, having namespace packages that contain files (as zope.configuration already does) breaks setuptools. Then setuptools needs fixing. But not

Re: [Zope-dev] zope.security changes

2009-02-06 Thread Dieter Maurer
Chris Withers wrote at 2009-2-6 12:31 +: ... I would find is very unintuitive when configuration were centralized (in subpackages of zope.configuration) rather than modular. Configuration belongs to the application or framework component that depends on this configuration not to

Re: [Zope-dev] zope.security changes

2009-01-31 Thread Dieter Maurer
Chris Withers wrote at 2009-1-30 18:50 +: Brian Sutherland wrote: zope.configuration.x zope.configuration.y Please don't, having namespace packages that contain files (as zope.configuration already does) breaks setuptools. Then setuptools needs fixing. But not for this purpose: I

Re: [Zope-dev] zope.security changes

2009-01-31 Thread Jim Fulton
On Jan 30, 2009, at 1:48 PM, Brian Sutherland wrote: Please don't, having namespace packages that contain files (as zope.configuration already does) breaks setuptools. zope.configuration isn't a namespace package. It is simply a package with subpackages. Jim -- Jim Fulton Zope

Re: [Zope-dev] zope.security changes

2009-01-31 Thread Brian Sutherland
On Sat, Jan 31, 2009 at 06:21:27AM -0500, Jim Fulton wrote: On Jan 30, 2009, at 1:48 PM, Brian Sutherland wrote: Please don't, having namespace packages that contain files (as zope.configuration already does) breaks setuptools. zope.configuration isn't a namespace package. It is simply a

Re: [Zope-dev] zope.security changes

2009-01-30 Thread Chris Withers
Fred Drake wrote: On Thu, Jan 29, 2009 at 4:01 AM, Martijn Faassen faas...@startifact.com wrote: I believe it'd be nicer to extract any ZCML related stuff from zope.component at some point and put it into zope.componentzcml or something like that. We could then decide to move the class and

Re: [Zope-dev] zope.security changes

2009-01-30 Thread Martijn Faassen
Chris Withers wrote: Fred Drake wrote: On Thu, Jan 29, 2009 at 4:01 AM, Martijn Faassen faas...@startifact.com wrote: I believe it'd be nicer to extract any ZCML related stuff from zope.component at some point and put it into zope.componentzcml or something like that. We could then decide

Re: [Zope-dev] zope.security changes

2009-01-30 Thread Chris Withers
Martijn Faassen wrote: This makes a lot more sense to me than having the ZCML support in either zope.component or zope.security. Indeed, surely all zcml stuff belongs in zope.configuration anyway? No, not there either, as zope.configuration doesn't define *any* directives except the basic

Re: [Zope-dev] zope.security changes

2009-01-30 Thread Jim Fulton
On Jan 30, 2009, at 6:59 AM, Chris Withers wrote: Fred Drake wrote: On Thu, Jan 29, 2009 at 4:01 AM, Martijn Faassen faas...@startifact.com wrote: I believe it'd be nicer to extract any ZCML related stuff from zope.component at some point and put it into zope.componentzcml or something

Re: [Zope-dev] zope.security changes

2009-01-30 Thread Jim Fulton
On Jan 30, 2009, at 12:01 PM, Martijn Faassen wrote: Chris Withers wrote: Fred Drake wrote: On Thu, Jan 29, 2009 at 4:01 AM, Martijn Faassen faas...@startifact.com wrote: I believe it'd be nicer to extract any ZCML related stuff from zope.component at some point and put it into

Re: [Zope-dev] zope.security changes

2009-01-30 Thread Brian Sutherland
On Fri, Jan 30, 2009 at 05:32:33PM +, Chris Withers wrote: Martijn Faassen wrote: This makes a lot more sense to me than having the ZCML support in either zope.component or zope.security. Indeed, surely all zcml stuff belongs in zope.configuration anyway? No, not there either, as

Re: [Zope-dev] zope.security changes

2009-01-30 Thread Chris Withers
Brian Sutherland wrote: zope.configuration.x zope.configuration.y Please don't, having namespace packages that contain files (as zope.configuration already does) breaks setuptools. Then setuptools needs fixing. There's no reason why zope.configuration and zope.configuration.x shouldn't

Re: [Zope-dev] zope.security changes

2009-01-30 Thread Benji York
On Fri, Jan 30, 2009 at 12:01 PM, Martijn Faassen faas...@startifact.com wrote: No, not there either, as zope.configuration doesn't define *any* directives except the basic ones like 'include' and 'configure'. If you would implement zope 3's directives in zope.configuration it'd start pulling

Re: [Zope-dev] zope.security changes

2009-01-30 Thread Martijn Faassen
Benji York wrote: On Fri, Jan 30, 2009 at 12:01 PM, Martijn Faassen faas...@startifact.com wrote: No, not there either, as zope.configuration doesn't define *any* directives except the basic ones like 'include' and 'configure'. If you would implement zope 3's directives in

Re: [Zope-dev] zope.security changes

2009-01-30 Thread Benji York
On Fri, Jan 30, 2009 at 4:44 PM, Martijn Faassen faas...@startifact.com wrote: Benji York wrote: On Fri, Jan 30, 2009 at 12:01 PM, Martijn Faassen faas...@startifact.com wrote: No, not there either, as zope.configuration doesn't define *any* directives except the basic ones like 'include'

Re: [Zope-dev] zope.security changes

2009-01-29 Thread Martijn Faassen
Hey, Dan Korostelev wrote: [snip] What about the other use case of class, i.e. declaring implemented interfaces, as in class class=.foreignmodule.SomeClass implements interface=.interfaces.ISomeInterface / /class +1. That's kinda strange to have it in zope.security. I think, the

Re: [Zope-dev] zope.security changes

2009-01-29 Thread Fred Drake
On Thu, Jan 29, 2009 at 4:01 AM, Martijn Faassen faas...@startifact.com wrote: I believe it'd be nicer to extract any ZCML related stuff from zope.component at some point and put it into zope.componentzcml or something like that. We could then decide to move the class and module directives in

[Zope-dev] zope.security changes

2009-01-28 Thread Martijn Faassen
Hi there, In the dependency cleanup effort we've got going on at the Grok cavesprint here at my house, we have moved code around some more. zope.security was already defining ZCML directives so we've moved the class directive from zope.app.component and and the module directive from

Re: [Zope-dev] zope.security changes

2009-01-28 Thread Marius Gedminas
On Wed, Jan 28, 2009 at 06:42:58PM +0100, Martijn Faassen wrote: Hi there, In the dependency cleanup effort we've got going on at the Grok cavesprint here at my house, we have moved code around some more. zope.security was already defining ZCML directives so we've moved the class

Re: [Zope-dev] zope.security changes

2009-01-28 Thread Stephan Richter
On Wednesday 28 January 2009, Marius Gedminas wrote: Sounds good! What about the other use case of class, i.e. declaring implemented interfaces, as in   class class=.foreignmodule.SomeClass     implements interface=.interfaces.ISomeInterface /   /class I was waiting for that comment. :-)

Re: [Zope-dev] zope.security changes

2009-01-28 Thread Stephan Richter
On Wednesday 28 January 2009, Dan Korostelev wrote: I think, the better place to move zcml directives is zope.component, as it already depends on zope.security for the zcml support and the class directive also has component-related factory subdirective which declared in zope.component. Good