[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/src/zope/interface/declarations.py Merged from trunk:

Jim Fulton jim at zope.com
Wed Aug 11 14:36:44 EDT 2004


Log message for revision 27017:
  Merged from trunk:
  
    r26985 | jim | 2004-08-10 19:17:28 -0400 (Tue, 10 Aug 2004) | 2 lines
  
  __bases__ should be a tuple.
  


Changed:
  U   Zope3/branches/ZopeX3-3.0/src/zope/interface/declarations.py


-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/interface/declarations.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/interface/declarations.py	2004-08-11 18:35:50 UTC (rev 27016)
+++ Zope3/branches/ZopeX3-3.0/src/zope/interface/declarations.py	2004-08-11 18:36:43 UTC (rev 27017)
@@ -546,7 +546,7 @@
                 seen[b] = 1
                 bases.append(b)
         
-    spec.__bases__ = bases
+    spec.__bases__ = tuple(bases)
 
 def _implements_advice(cls):
     interfaces, classImplements = cls.__dict__['__implements_advice_data__']



More information about the Zope3-Checkins mailing list