[Zope-dev] Re: bridging Zope core interfaces - a small proposal

yuppie y.2005- at wcm-solutions.de
Wed Jul 6 11:34:38 EDT 2005


Lennart Regebro wrote:
> On 7/6/05, yuppie <y.2005- at wcm-solutions.de> wrote:
> 
>>Five comes with some code that bridges Zope 2 interfaces to Zope 3
>>interfaces. This way Zope 2 interface definitions can be reused without
>>adding redundant code.
>>
>>This is quite useful, but doesn't work for Zope core interfaces: Five
>>depends one many Zope core packages and using Five code in these
>>packages creates circular imports.
> 
> 
> Did I understand that correctly, it is a problem if you want to use
> Five *from* zope core code?

Correct. It's not always a problem, but the bridging code doesn't depend 
on anything else in Five, so I guess moving that code into the core 
would be a clean solution.

Cheers, Yuppie



More information about the Zope-Dev mailing list