[Zope3-checkins] CVS: Zope3/src/zope/interface/common - idatetime.py:1.3

Jim Fulton jim at zope.com
Mon Sep 22 16:08:07 EDT 2003


Update of /cvs-repository/Zope3/src/zope/interface/common
In directory cvs.zope.org:/tmp/cvs-serv8012

Modified Files:
	idatetime.py 
Log Message:
Commented out some code that made direct instance interface assertions
on some objects that will, in the future, be built-in types and, thus,
immutable.

We can't declare instance interfaces on built-in types. 
We could conceivably extend the interface machinery to support
this, but I'm not sure it's worth the bother.


=== Zope3/src/zope/interface/common/idatetime.py 1.2 => 1.3 ===
--- Zope3/src/zope/interface/common/idatetime.py:1.2	Mon May  5 04:26:12 2003
+++ Zope3/src/zope/interface/common/idatetime.py	Mon Sep 22 16:08:06 2003
@@ -571,7 +571,7 @@
 classImplements(time, ITime)
 classImplements(tzinfo, ITZInfo)
 
-directlyProvides(timedelta, ITimeDeltaClass)
-directlyProvides(date, IDateClass)
-directlyProvides(datetime, IDateTimeClass)
-directlyProvides(time, ITimeClass)
+## directlyProvides(timedelta, ITimeDeltaClass)
+## directlyProvides(date, IDateClass)
+## directlyProvides(datetime, IDateTimeClass)
+## directlyProvides(time, ITimeClass)




More information about the Zope3-Checkins mailing list