[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/security/checker.py Put tuple declarations back they way they belonged.

Jim Fulton jim at zope.com
Sun Jan 22 13:20:16 EST 2006


Log message for revision 41416:
  Put tuple declarations back they way they belonged.
  Accidentilly checked in experimental change.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/security/checker.py

-=-
Modified: Zope3/branches/jim-adapter/src/zope/security/checker.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/security/checker.py	2006-01-22 18:02:38 UTC (rev 41415)
+++ Zope3/branches/jim-adapter/src/zope/security/checker.py	2006-01-22 18:20:15 UTC (rev 41416)
@@ -623,7 +623,6 @@
     complex: NoProxy,
     types.NoneType: NoProxy,
     str: NoProxy,
-    tuple: NoProxy,
     unicode: NoProxy,
     bool: NoProxy,
     datetime.timedelta: NoProxy,
@@ -677,9 +676,9 @@
     sets.ImmutableSet: _setChecker,
 
     # YAGNI: () a rock
-##     tuple: NamesChecker(['__getitem__', '__getslice__', '__add__', '__radd__',
-##                          '__contains__', '__len__', '__iter__',
-##                          '__str__']),
+    tuple: NamesChecker(['__getitem__', '__getslice__', '__add__', '__radd__',
+                         '__contains__', '__len__', '__iter__',
+                         '__str__']),
     types.InstanceType: _instanceChecker,
     Proxy: NoProxy,
     type(weakref.ref(_Sequence())): NamesChecker(['__call__']),



More information about the Zope3-Checkins mailing list