[Checkins] SVN: z3c.zrtresource/trunk/src/z3c/zrtresource/zrtresource.pyz3c.zrtresource is made to work in Zope2. A docstring wasadded as the zope2 publisher won't publish otherwise. Added aconditional import on Five's FileResource. Only oneconditiona

Tim Terlegård tim.terlegard at valentinewebsystems.se
Fri Mar 28 15:03:33 EDT 2008


On Mar 28, 2008, at 4:51 PM, Wichert Akkerman wrote:

> 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.

This is exactly my opinion as well.

But there is a small small chance that anyone implementing a zope3
application has or installs a Products.Five egg in system site-package.
Most people know this is a bad idea, but it could happen. This is why I
gave up this fight so easily  :)

/Tim


More information about the Checkins mailing list