[Zope-Checkins] CVS: Zope3/lib/python/Zope/Security - Checker.py:1.1.4.5.4.4

Steve Alexander steve@cat-box.net
Tue, 4 Jun 2002 09:20:38 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Security
In directory cvs.zope.org:/tmp/cvs-serv26524/lib/python/Zope/Security

Modified Files:
      Tag: Zope3InWonderland-branch
	Checker.py 
Log Message:
removed InsecureMarker and make object a Rock instead.



=== Zope3/lib/python/Zope/Security/Checker.py 1.1.4.5.4.3 => 1.1.4.5.4.4 ===
 import sys, os, types
 
-class InsecureMarker(object):
-    """Instances of this class do not get wrapped by
-       security proxies. Use instances as markers
-       for methods like:
-          container.queryObject(name, default)
-    """
-    pass
-
 if os.environ.get('ZOPE_WATCH_CHECKERS'):
     WATCH_CHECKERS = 1
 else:
@@ -277,7 +269,7 @@
                                   'isImplementedBy', 'extends'])
 
 BasicTypes = {
-    InsecureMarker: NoProxy,
+    object: NoProxy,
     int: NoProxy,
     float: NoProxy,
     long: NoProxy,