[Checkins] SVN: zope.copy/trunk/src/zope/copy/pickling.txt Don't expect zope.location to declare the 'required' interface for us.
Tres Seaver
cvs-admin at zope.org
Thu Jun 7 16:28:20 UTC 2012
Log message for revision 126670:
Don't expect zope.location to declare the 'required' interface for us.
Dropping that allowed us to port zope.location to Py3k, breaking a cycle
with zope.component (not yet ported).
Changed:
U zope.copy/trunk/src/zope/copy/pickling.txt
-=-
Modified: zope.copy/trunk/src/zope/copy/pickling.txt
===================================================================
--- zope.copy/trunk/src/zope/copy/pickling.txt 2012-06-07 15:55:33 UTC (rev 126669)
+++ zope.copy/trunk/src/zope/copy/pickling.txt 2012-06-07 16:28:16 UTC (rev 126670)
@@ -31,7 +31,8 @@
>>> from zope.component import provideAdapter
>>> from zope.location.pickling import LocationCopyHook
- >>> provideAdapter(LocationCopyHook)
+ >>> from zope.location.interfaces import ILocation
+ >>> provideAdapter(LocationCopyHook, (ILocation,))
>>> from zope.copy import copy
>>> page_copy = copy(page)
More information about the checkins
mailing list