[Checkins] SVN: zc.comment/trunk/ added a method which was removed from the base interface years ago but we need it here otherwise we get an ForbiddenAttributeError

Michael Howitz mh at gocept.com
Wed Mar 2 02:46:35 EST 2011


Log message for revision 120659:
  added a method which was removed from the base interface years ago but we need it here otherwise we get an ForbiddenAttributeError
  
  

Changed:
  U   zc.comment/trunk/CHANGES.txt
  U   zc.comment/trunk/src/zc/comment/interfaces.py

-=-
Modified: zc.comment/trunk/CHANGES.txt
===================================================================
--- zc.comment/trunk/CHANGES.txt	2011-03-02 06:42:23 UTC (rev 120658)
+++ zc.comment/trunk/CHANGES.txt	2011-03-02 07:46:34 UTC (rev 120659)
@@ -2,6 +2,13 @@
 CHANGES
 =======
 
+0.2.0 (unreleased)
+------------------
+
+- Fixed tests to run with `zope.interface` >= 3.3.
+
+
+
 0.1.0 (2008-04-21)
 ------------------
 

Modified: zc.comment/trunk/src/zc/comment/interfaces.py
===================================================================
--- zc.comment/trunk/src/zc/comment/interfaces.py	2011-03-02 06:42:23 UTC (rev 120658)
+++ zc.comment/trunk/src/zc/comment/interfaces.py	2011-03-02 07:46:34 UTC (rev 120659)
@@ -62,6 +62,10 @@
     def clear():
         """Remove all comments."""
 
+    def __iter__():
+        """Iterate over all comments."""
+
+
 class ICommentable(zope.annotation.interfaces.IAnnotatable):
     "Content that may be commented upon"
 



More information about the checkins mailing list