AW: AW: [Checkins] SVN:z3c.zrtresource/trunk/src/z3c/zrtresource/zrtresource.pyz3c.zrtresourceis made to work in Zope2. A docstring wasadded as the zope2publisher won't publish otherwise. Added aconditional import onFive's FileResource. Only oneconditiona

Roger Ineichen dev at projekt01.ch
Fri Mar 28 12:05:42 EDT 2008


Hi Wichert

[...]

> Previously Nikolay Kim wrote:
> > 
> > > > Probably this is not much important enough for that
> > > > *import* usecase, but if we start with that, can you tell me 
> > > > wheres the border with mixin code into Zope3 packages 
> and what is 
> > > > Ok and where do we stop?
> > > 
> > > I agree it should rarely be used, but it was just one 
> import so then 
> > > I thought it was ok.
> > 
> > Conditional import are ugly and many of us doesn't use zope2 at all.
> 
> And many of us do use Zope2 and want to be able to use all the nice
> Zope3 technology. A single conditional import is an extremely 
> small price to pay to give a large group of people access to 
> new technology.
> 
> I thought the componentized Zope 3 was all about making it 
> easier to reuse modules. Did that change?

I think you get confused by something. This single line of 
import has nothing to do with a component architecture.

It's just a bad and can make real troubles if this module
get used because you have that installed too.

It has nothing to do with that's our code and we don't like 
to have that included in this package. It just doesn't work
in with any python setup. And it will exactly hurt the people
which use both libs on their systems.

Why not offer a compatibility package and apply different 
things with monky patches if packages are available.
This would also avoid to duplicate packages for Five and 
then you use virtual env or something which separates the setup.

Regards
Roger Ineichen

> Wichert.
> 
> -- 
> Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
> http://www.wiggy.net/                   It is hard to make 
> things simple.
> _______________________________________________
> Checkins mailing list
> Checkins at zope.org
> http://mail.zope.org/mailman/listinfo/checkins
> 



More information about the Checkins mailing list