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

Jim Fulton cvs-admin at zope.org
Tue Nov 18 17:27:17 EST 2003


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

Modified Files:
      Tag: adaptergeddon-branch
	checker.py 
Log Message:
Implemented local presentation services.


=== Zope3/src/zope/security/checker.py 1.40.4.3 => 1.40.4.4 ===
--- Zope3/src/zope/security/checker.py:1.40.4.3	Thu Oct 16 17:42:39 2003
+++ Zope3/src/zope/security/checker.py	Tue Nov 18 17:26:42 2003
@@ -27,6 +27,7 @@
 import sys
 import types
 import datetime
+import weakref
 
 from zope.interface import directlyProvides, Interface, implements
 from zope.interface.interfaces import IInterface, IDeclaration
@@ -726,6 +727,7 @@
                          '__str__']),
     types.InstanceType: _instanceChecker,
     Proxy: NoProxy,
+    type(weakref.ref(_Sequence())): NamesChecker(['__call__']),
     types.ClassType: _classChecker,
     types.FunctionType: _callableChecker,
     types.MethodType: _callableChecker,




More information about the Zope3-Checkins mailing list