[Checkins] SVN: zope.copy/tags/ Tag initial release as 3.5.0
Dan Korostelev
nadako at gmail.com
Sun Feb 8 17:27:11 EST 2009
Log message for revision 96280:
Tag initial release as 3.5.0
Changed:
A zope.copy/tags/
A zope.copy/tags/3.5.0/
U zope.copy/tags/3.5.0/CHANGES.txt
U zope.copy/tags/3.5.0/setup.py
D zope.copy/tags/3.5.0/src/zope/copy/interfaces.py
A zope.copy/tags/3.5.0/src/zope/copy/interfaces.py
-=-
Modified: zope.copy/tags/3.5.0/CHANGES.txt
===================================================================
--- zope.copy/trunk/CHANGES.txt 2009-02-08 17:03:40 UTC (rev 96257)
+++ zope.copy/tags/3.5.0/CHANGES.txt 2009-02-08 22:27:11 UTC (rev 96280)
@@ -2,7 +2,7 @@
CHANGES
=======
-3.5.0 (unreleased)
+3.5.0 (2009-02-09)
------------------
- Initial release. The functionality was extracted from ``zc.copy`` to
Modified: zope.copy/tags/3.5.0/setup.py
===================================================================
--- zope.copy/trunk/setup.py 2009-02-08 17:03:40 UTC (rev 96257)
+++ zope.copy/tags/3.5.0/setup.py 2009-02-08 22:27:11 UTC (rev 96280)
@@ -22,7 +22,7 @@
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
setup(name = 'zope.copy',
- version = '3.5.0dev',
+ version = '3.5.0',
author='Zope Foundation and Contributors',
author_email='zope-dev at zope.org',
description='Pluggable object copying mechanism',
Deleted: zope.copy/tags/3.5.0/src/zope/copy/interfaces.py
===================================================================
--- zope.copy/trunk/src/zope/copy/interfaces.py 2009-02-08 17:03:40 UTC (rev 96257)
+++ zope.copy/tags/3.5.0/src/zope/copy/interfaces.py 2009-02-08 22:27:11 UTC (rev 96280)
@@ -1,44 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2009 Zope Foundation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""
-$Id$
-"""
-import zope.interface
-
-class ResumeCopy(Exception):
- """Don't use the hook, resume the copy.
-
- This is a special exception, raised from the copy hook to signal
- copier that it should continue copying the object recursively.
-
- See ICopyHook.__call__ method documentation.
- """
-
-class ICopyHook(zope.interface.Interface):
- """An adapter to an object that is being copied"""
-
- def __call__(obj, register):
- """Given the top-level object that is being copied, return the
- version of the adapted object that should be used in the new copy.
-
- Raising ResumeCopy means that you are foregoing the hook: the
- adapted object will continue to be recursively copied as usual.
-
- If you need to have a post-copy actions executed, register a
- callable with ``register``. This callable must take a single
- argument: a callable that, given an object from the original,
- returns the equivalent in the copy.
-
- See README.txt for more explanation.
- """
Copied: zope.copy/tags/3.5.0/src/zope/copy/interfaces.py (from rev 96279, zope.copy/trunk/src/zope/copy/interfaces.py)
===================================================================
--- zope.copy/tags/3.5.0/src/zope/copy/interfaces.py (rev 0)
+++ zope.copy/tags/3.5.0/src/zope/copy/interfaces.py 2009-02-08 22:27:11 UTC (rev 96280)
@@ -0,0 +1,44 @@
+##############################################################################
+#
+# Copyright (c) 2009 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""
+$Id$
+"""
+import zope.interface
+
+class ResumeCopy(Exception):
+ """Don't use the hook, resume the copy.
+
+ This is a special exception, raised from the copy hook to signal
+ copier that it should continue copying the object recursively.
+
+ See ICopyHook.__call__ method documentation.
+ """
+
+class ICopyHook(zope.interface.Interface):
+ """An adapter to an object that is being copied"""
+
+ def __call__(toplevel, register):
+ """Given the top-level object that is being copied, return the
+ version of the adapted object that should be used in the new copy.
+
+ Raising ResumeCopy means that you are foregoing the hook: the
+ adapted object will continue to be recursively copied as usual.
+
+ If you need to have a post-copy actions executed, register a
+ callable with ``register``. This callable must take a single
+ argument: a callable that, given an object from the original,
+ returns the equivalent in the copy.
+
+ See README.txt for more explanation.
+ """
More information about the Checkins
mailing list