[Zope3-checkins] CVS: Zope3/lib/python/Zope/Security - Checker.py:1.14

Viktorija Zaksiene ryzaja@codeworks.lt
Mon, 2 Dec 2002 04:57:15 -0500


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

Modified Files:
	Checker.py 
Log Message:
Updated datetime security declarations.


=== Zope3/lib/python/Zope/Security/Checker.py 1.13 => 1.14 ===
--- Zope3/lib/python/Zope/Security/Checker.py:1.13	Sat Nov 30 09:49:42 2002
+++ Zope3/lib/python/Zope/Security/Checker.py	Mon Dec  2 04:57:14 2002
@@ -419,7 +419,7 @@
     datetime.datetime: NamesChecker(['__repr__', '__str__', 'year', 'month',
                                      'day', 'hour', 'minute', 'second',
                                      'microsecond', 'timetuple',
-                                     'utctimetuple', 'toordinal', '__cmp__',
+                                     'toordinal', '__cmp__',
                                      '__hash__', 'ctime', 'strftime',
                                      '__add__', '__radd__', '__sub__',
                                      '__rsub__', 'weekday', 'isoweekday',
@@ -435,7 +435,16 @@
                                        'isocalendar', 'isoformat', 'min',
                                        'max', 'resolution', 'utcoffset',
                                        'tzname', 'dst']),
-    }
+    datetime.time: NamesChecker(['hour', 'minute', 'second', 'microsecond',
+                                 '__cmp__', '__hash__', '__repr__', '__str__',
+                                 'isoformat', 'strftime', 'min', 'max',
+                                 'resolution']),
+    datetime.timetz: NamesChecker(['hour', 'minute', 'second', 'microsecond',
+                                   '__cmp__', '__hash__', '__repr__',
+                                   '__str__', 'isoformat', 'strftime', 'min',
+                                   'max', 'resolution', 'tzinfo', 'utcoffset',
+                                   'tzname', 'dst'])
+}
 
 
 def _clear():