[Zope3-checkins] CVS: Zope27/lib/python/Interface - Implements.py:1.3.8.1

Jim Fulton jim@zope.com
Tue, 13 Aug 2002 15:33:29 -0400


Update of /cvs-repository/Zope27/lib/python/Interface
In directory cvs.zope.org:/tmp/cvs-serv30914/lib/python/Interface

Modified Files:
      Tag: Zope-2_7-development-branch
	Implements.py 
Log Message:
Added some extra needed files

=== Zope27/lib/python/Interface/Implements.py 1.3 => 1.3.8.1 ===
--- Zope27/lib/python/Interface/Implements.py:1.3	Mon Jun 10 19:27:40 2002
+++ Zope27/lib/python/Interface/Implements.py	Tue Aug 13 15:33:28 2002
@@ -29,6 +29,17 @@
 
 ClassTypes = (ClassType, type(object))
 
+# Check for ExtensionClasses. It's a dang shame that we have to special case
+# these.
+try:
+    from ExtensionClass import ExtensionClass
+except ImportError:
+    pass
+else:
+    ClassTypes += (ExtensionClass, )
+    del ExtensionClass
+    
+
 _typeImplements={}
 
 def getImplements(object):