[Zope3-checkins] SVN: Zope3/trunk/src/zope/ Converted XXX and TODO comments about deprecated interface methods

Philipp von Weitershausen philikon at philikon.de
Tue Jul 13 13:13:09 EDT 2004


Log message for revision 26487:
  Converted XXX and TODO comments about deprecated interface methods
  to BBB comments.
  
  Jim, I put today's date in, but the backward compat actually goes
  back a few months. Maybe you want to change the dates.
  


Changed:
  U   Zope3/trunk/src/zope/interface/interface.py
  U   Zope3/trunk/src/zope/security/checker.py


-=-
Modified: Zope3/trunk/src/zope/interface/interface.py
===================================================================
--- Zope3/trunk/src/zope/interface/interface.py	2004-07-13 17:12:34 UTC (rev 26486)
+++ Zope3/trunk/src/zope/interface/interface.py	2004-07-13 17:13:09 UTC (rev 26487)
@@ -203,7 +203,9 @@
     providedBy = SpecificationBase.providedBy
 
     #########################################################################
-    # XXX Backward Compat
+    # BBB 2004-07-13: Backward compatabilty.  These methods have been
+    # deprecated in favour of providedBy and implementedBy.
+
     def isImplementedByInstancesOf(self, cls):
         warnings.warn(
             "isImplementedByInstancesOf has been renamed to implementedBy",

Modified: Zope3/trunk/src/zope/security/checker.py
===================================================================
--- Zope3/trunk/src/zope/security/checker.py	2004-07-13 17:12:34 UTC (rev 26486)
+++ Zope3/trunk/src/zope/security/checker.py	2004-07-13 17:13:09 UTC (rev 26487)
@@ -629,7 +629,8 @@
     type(Interface): InterfaceChecker(
         IInterface,
         __str__=CheckerPublic, _implied=CheckerPublic, subscribe=CheckerPublic,
-        # TODO: Backward:
+        # BBB 2004-07-13: backward compatability for deprecated
+        # interface methods
         isImplementedByInstancesOf=CheckerPublic,
         isImplementedBy=CheckerPublic,
         ),



More information about the Zope3-Checkins mailing list