[Zope-dev] Removing dependency between zope.location and zope.copy

Fabio Tranchitella kobold at kobold.it
Tue Dec 22 02:52:29 EST 2009


Hello,

I'm wondering if it would be possible to drop the dependency between
zope.location and zope.copy. It makes sense to me because zope.location
depends on zope.copy only because it registers a LocationCopyHook, not
because it is really using anything from that package.

Attached to this message you can find my (proposed) patch to remove the
dependency making the adapter registration optional, and informing the
developer that zope.copy is needed is he is importing directly the
zope.location.pickling module.

Comments?

Thanks,
Fabio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zope.location-without-zope.copy.diff
Type: text/x-diff
Size: 2731 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20091222/593d7d05/attachment.bin 


More information about the Zope-Dev mailing list