[Zope-Checkins] CVS: Zope3/lib/python/Zope/ComponentArchitecture - IToIRegistry.py:1.1.4.14 hooks.py:1.1.2.18
Jim Fulton
jim@zope.com
Tue, 5 Mar 2002 16:43:23 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/ComponentArchitecture
In directory cvs.zope.org:/tmp/cvs-serv2132/Zope/ComponentArchitecture
Modified Files:
Tag: Zope-3x-branch
IToIRegistry.py hooks.py
Log Message:
Hold on to your butts!
Major refactoring of Interface package to clean up the interfaces and
module structure.
Note especially, to verify interface implementstions,
use verifyObject or verifyClass from the Interface.Verify module:
from Interface.Verify import verifyClass
verifyClass(ISomeInterface, SomeClass)
=== Zope3/lib/python/Zope/ComponentArchitecture/IToIRegistry.py 1.1.4.13 => 1.1.4.14 ===
from Interface import Interface
-from Interface.Util import objectImplements
+from Interface.Implements import objectImplements
from Exceptions import Invalid
from types import ListType, TupleType
=== Zope3/lib/python/Zope/ComponentArchitecture/hooks.py 1.1.2.17 => 1.1.2.18 ===
return c
-from Interface.verify import verifyObject as _verify
+from Interface.Verify import verifyObject as _verify
from Zope.ComponentArchitecture.IFactory import IFactory as _IFactory