Zope Subversion Repository

  Zope

Zope: zope.security/trunk/src/zope/security/checker.py

Diff for /zope.security/trunk/src/zope/security/checker.py between version 97504 and 97949

version 97504, Thu Mar 5 00:40:18 2009 UTC version 97949, Thu Mar 12 03:09:05 2009 UTC
Line 37 
Line 37 
 import zope.interface.interface  import zope.interface.interface
 import zope.interface.interfaces  import zope.interface.interfaces
 import zope.interface.declarations  import zope.interface.declarations
   from zope.i18nmessageid import Message
 from zope.interface import directlyProvides, Interface, implements  from zope.interface import directlyProvides, Interface, implements
 from zope.interface.interfaces import IInterface, IDeclaration  from zope.interface.interfaces import IInterface, IDeclaration
   
Line 564 
Line 565 
                             '__hash__', '__nonzero__',                              '__hash__', '__nonzero__',
                             '__class__', '__providedBy__', '__implements__',                              '__class__', '__providedBy__', '__implements__',
                             '__repr__', '__conform__',                              '__repr__', '__conform__',
                               '__name__', '__parent__',
                             ]                              ]
   
 _callableChecker = NamesChecker(['__str__', '__name__', '__call__'])  _callableChecker = NamesChecker(['__str__', '__name__', '__call__'])
Line 612 
Line 614 
     types.NoneType: NoProxy,      types.NoneType: NoProxy,
     str: NoProxy,      str: NoProxy,
     unicode: NoProxy,      unicode: NoProxy,
       Message: NoProxy, # Messages are immutable, so it's okay
     bool: NoProxy,      bool: NoProxy,
     datetime.timedelta: NoProxy,      datetime.timedelta: NoProxy,
     datetime.datetime: NoProxy,      datetime.datetime: NoProxy,
Line 635 
Line 638 
     datetime.timedelta: datetime.timedelta(3),      datetime.timedelta: datetime.timedelta(3),
     datetime.datetime: datetime.datetime(2003, 1, 1),      datetime.datetime: datetime.datetime(2003, 1, 1),
     datetime.date: datetime.date(2003, 1, 1),      datetime.date: datetime.date(2003, 1, 1),
     datetime.time: datetime.time(23, 58)      datetime.time: datetime.time(23, 58),
       Message: Message('message', domain='hello')
 }  }
   
   


Generate output suitable for use with a patch program
Legend:
Removed from v.97504  
changed lines
  Added in v.97949

webmaster@zope.org

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help