[Zope3-checkins] CVS: Zope3/src/zope/security - checker.py:1.12

Philipp von Weitershausen philikon@philikon.de
Thu, 10 Apr 2003 11:39:42 -0400


Update of /cvs-repository/Zope3/src/zope/security
In directory cvs.zope.org:/tmp/cvs-serv13729/security

Modified Files:
	checker.py 
Log Message:
Added __mro__ to the attributes you can get from a type.


=== Zope3/src/zope/security/checker.py 1.11 => 1.12 ===
--- Zope3/src/zope/security/checker.py:1.11	Tue Mar 25 15:50:16 2003
+++ Zope3/src/zope/security/checker.py	Thu Apr 10 11:39:42 2003
@@ -350,7 +350,8 @@
                      ]
 
 _callableChecker = NamesChecker(['__str__', '__name__', '__call__'])
-_typeChecker = NamesChecker(['__str__', '__name__', '__module__', '__bases__'])
+_typeChecker = NamesChecker(
+    ['__str__', '__name__', '__module__', '__bases__', '__mro__'])
 
 _interfaceChecker = NamesChecker(['__str__', '__name__', '__module__',
                                   '__bases__', 'getBases', 'isImplementedBy',