[Zope3-dev] Re: zodbcode vs zope.app.module and zope.app.interface.PersistentInterface

Ross Patterson me at rpatterson.net
Mon Feb 5 14:36:45 EST 2007


Ross Patterson <me at rpatterson.net> writes:

> zope.app.interface.PersistentInterface gets used properly for
> persistent modules containing classes that subclass
> zope.interface.Interface when those modules are are managed and
> registered through managers and registries from zodbcode.  However,
> similar persistent modules are broken when managed and registered
> through managers and registries from zope.app.module.  Attached is a
> diff against zope.app.module that adds a test demonstrating the
> failure.
>
> I'll create an issue in the collector if I can't fix this, but I hope
> to fix it.
>
> What I'd like to know is why zope.app.module seems to have totally
> independent manager and registry implementaitons from those found in
> zodbcode.  It looks like Fred Drake did a lot of the work on zodbcode
> and Setphan Richter did a lot of the work on zope.app.module, so I was
> hoping to learn something about the rationale from one or both of
> you.  Is there any reason not to realign the implmentations in
> zope.app.module with those in zodbcode?
>
> I realize that most of this work was done long ago, but I appreciate
> any insight.
>
> Ross

Attached is a new verion of the patch against zope.app.module that I
think is a bit clearer.  It demonstrates that the manager from
zodbcode works where the manager from zope.app.module doesn't.

Ross

-------------- next part --------------
A non-text attachment was scrubbed...
Name: zope-app-module.diff
Type: text/x-diff
Size: 1362 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20070205/510c2889/zope-app-module.bin


More information about the Zope3-dev mailing list