[Zope-Checkins] CVS: Zope/lib/python/Interface - _InterfaceClass.py:1.4

Jim Fulton jim@zope.com
Mon, 10 Jun 2002 16:00:43 -0400


Update of /cvs-repository/Zope/lib/python/Interface
In directory cvs.zope.org:/tmp/cvs-serv13934/lib/python/Interface

Modified Files:
	_InterfaceClass.py 
Log Message:
Fixed bug in Interface names and namesAndDescription methods that
caused attributes to be missed with more than one level of inheritence.


=== Zope/lib/python/Interface/_InterfaceClass.py 1.3 => 1.4 ===
             r[name] = 1
         for base in self.__bases__:
-            for name in base.names():
+            for name in base.names(all):
                 r[name] = 1
         return r.keys()
             
@@ -146,7 +146,7 @@
             r[name] = d
             
         for base in self.__bases__:
-            for name, d in base.namesAndDescriptions():
+            for name, d in base.namesAndDescriptions(all):
                 if not r.has_key(name):
                     r[name] = d