[Zope3-checkins] CVS: Packages3/Interface - Implements.py:1.12

Steve Alexander steve@cat-box.net
Fri, 13 Jun 2003 10:42:45 -0400


Update of /cvs-repository/Packages3/Interface
In directory cvs.zope.org:/tmp/cvs-serv29349

Modified Files:
	Implements.py 
Log Message:
removed final dependencies on zope.interface.implements.

Use of __implements__ to say what a module implements will not be
supported in the future in Zope 2.
More generally, use of an instance's __implements__ attribute to say what
the instance supports will not be supported in the future in Zope 2.


=== Packages3/Interface/Implements.py 1.11 => 1.12 ===
--- Packages3/Interface/Implements.py:1.11	Fri Jun 13 08:10:12 2003
+++ Packages3/Interface/Implements.py	Fri Jun 13 10:42:14 2003
@@ -17,12 +17,6 @@
 $Id$
 """
 
-# Doctor the implements module to know about ExtensionClass 
-import _object
-from zope.interface import implements
-implements.ClassTypes = _object.ClassTypes
-del _object, implements
-
 from zope.interface import providedBy as getImplements
 from zope.interface import implementedBy as getImplementsOfInstances
 from zope.interface import classImplements as assertTypeImplements