[Checkins] SVN: zope.interface/trunk/ Fix https://bugs.launchpad.net/zope3/3.3/+bug/98388: ISpecification

Philipp von Weitershausen philikon at philikon.de
Sat Nov 10 11:15:09 EST 2007


Log message for revision 81721:
    Fix https://bugs.launchpad.net/zope3/3.3/+bug/98388: ISpecification
    was missing a declaration for __iro__.
  
  

Changed:
  U   zope.interface/trunk/CHANGES.txt
  U   zope.interface/trunk/src/zope/interface/interfaces.py

-=-
Modified: zope.interface/trunk/CHANGES.txt
===================================================================
--- zope.interface/trunk/CHANGES.txt	2007-11-10 16:13:43 UTC (rev 81720)
+++ zope.interface/trunk/CHANGES.txt	2007-11-10 16:15:08 UTC (rev 81721)
@@ -2,6 +2,13 @@
 ******************************
 
 ==================
+3.4.2 (unreleased)
+==================
+
+- Fix https://bugs.launchpad.net/zope3/3.3/+bug/98388: ISpecification
+  was missing a declaration for __iro__.
+
+==================
 3.4.1 (2007/10/02)
 ==================
 

Modified: zope.interface/trunk/src/zope/interface/interfaces.py
===================================================================
--- zope.interface/trunk/src/zope/interface/interfaces.py	2007-11-10 16:13:43 UTC (rev 81720)
+++ zope.interface/trunk/src/zope/interface/interfaces.py	2007-11-10 16:15:08 UTC (rev 81721)
@@ -123,6 +123,15 @@
     (This is similar to the method-resolution order for new-style classes.)
     """)
 
+    __iro__ = Attribute("""Interface-resolution order
+
+    A tuple of the of the specification's ancestor interfaces from
+    most specific to least specific.  The specification itself is
+    included if it is an interface.
+
+    (This is similar to the method-resolution order for new-style classes.)
+    """)
+
     def get(name, default=None):
         """Look up the description for a name
 



More information about the Checkins mailing list