[Checkins] SVN: zc.copy/trunk/src/zc/copy/ A few more cleanups.

Gary Poster gary at zope.com
Wed Aug 23 17:53:21 EDT 2006


Log message for revision 69740:
  A few more cleanups.
  

Changed:
  U   zc.copy/trunk/src/zc/copy/README.txt
  U   zc.copy/trunk/src/zc/copy/configure.zcml

-=-
Modified: zc.copy/trunk/src/zc/copy/README.txt
===================================================================
--- zc.copy/trunk/src/zc/copy/README.txt	2006-08-23 21:51:35 UTC (rev 69739)
+++ zc.copy/trunk/src/zc/copy/README.txt	2006-08-23 21:53:20 UTC (rev 69740)
@@ -1,9 +1,8 @@
 The copier module has two main components: a generic replacement for
-zope.location.pickling.locationCopy called zc.copyversion.copier.copy,
-and a replacement for zope.copypastemove.ObjectCopier that uses the new
-copy function. Additionally, the module contains an adapter for use with
-the new copy function that gives the same ILocation behavior as
-locationCopy.
+zope.location.pickling.locationCopy called zc.copy.copy, and a
+replacement for zope.copypastemove.ObjectCopier that uses the new copy
+function. Additionally, the module contains an adapter for use with the
+new copy function that gives the same ILocation behavior as locationCopy.
 
 These three components (the new copy, the new ObjectCopier, and the
 ILocation adapter) are appropriate for inclusion in Zope 3, should that be
@@ -23,14 +22,13 @@
 The clone function (and thus the copy function that wraps clone) uses
 pickle to copy the object and all its subobjects recursively.  As each
 object and subobject is pickled, the function tries to adapt it to
-zc.copyversion.interfaces.ICopyHook. If a copy hook is found, the
-recursive copy is halted.  The hook is called with two values: the
-main, top-level object that is being copied; and a callable that
-supports registering functions to be called after the copy is made. 
-The copy hook should return the exact object or subobject that should
-be used at this point in the copy, or raise
-zc.copyversion.interfaces.ResumeCopy to resume copying the object or
-subobject recursively after all.
+zc.copy.interfaces.ICopyHook. If a copy hook is found, the recursive
+copy is halted.  The hook is called with two values: the main, top-level
+object that is being copied; and a callable that supports registering
+functions to be called after the copy is made. The copy hook should
+return the exact object or subobject that should be used at this point
+in the copy, or raise zc.copy.interfaces.ResumeCopy to resume copying
+the object or subobject recursively after all.
 
 We'll examine the callable a bit later: first let's examine a simple
 use.  A simple hook is to support the use case of resetting the state of

Modified: zc.copy/trunk/src/zc/copy/configure.zcml
===================================================================
--- zc.copy/trunk/src/zc/copy/configure.zcml	2006-08-23 21:51:35 UTC (rev 69739)
+++ zc.copy/trunk/src/zc/copy/configure.zcml	2006-08-23 21:53:20 UTC (rev 69740)
@@ -1,6 +1,5 @@
 <configure
-    xmlns="http://namespaces.zope.org/zope"
-    i18n_domain="zc.copyversion">
+    xmlns="http://namespaces.zope.org/zope">
 
   <adapter factory=".location_copyfactory" />
 



More information about the Checkins mailing list