[Zope3-checkins]
SVN: Zope3/branches/jim-adapter-redesign/src/zope/security/checker.py
Put tuple declarations back to what they should be after an
Jim Fulton
jim at zope.com
Sun Jan 22 13:22:56 EST 2006
Log message for revision 41417:
Put tuple declarations back to what they should be after an
experiment.
Changed:
U Zope3/branches/jim-adapter-redesign/src/zope/security/checker.py
-=-
Modified: Zope3/branches/jim-adapter-redesign/src/zope/security/checker.py
===================================================================
--- Zope3/branches/jim-adapter-redesign/src/zope/security/checker.py 2006-01-22 18:20:15 UTC (rev 41416)
+++ Zope3/branches/jim-adapter-redesign/src/zope/security/checker.py 2006-01-22 18:22:55 UTC (rev 41417)
@@ -568,7 +568,6 @@
complex: NoProxy,
types.NoneType: NoProxy,
str: NoProxy,
- tuple: NoProxy,
unicode: NoProxy,
type(True): NoProxy, # Boolean, if available :)
datetime.timedelta: NoProxy,
@@ -622,9 +621,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