[Zope-Checkins] CVS: Zope2 - ZClass.py:1.43.30.6 __init__.py:1.5.30.1
tseaver@digicool.com
tseaver@digicool.com
Wed, 1 Nov 2000 15:11:25 -0500 (EST)
Update of /cvs-repository/Zope2/lib/python/ZClasses
In directory korak.digicool.com:/home/tseaver/Zope2/lib/python/ZClasses
Modified Files:
Tag: Zope-2_2-branch
ZClass.py __init__.py
Log Message:
- (Collector #1687) Products which register base classes
for ZClasses typically defer creating them until product
registration; the derived ZClass needs them to be available
immediately after import. Deprecated
'ProductContext.registerZClass' and
'ProductContext.registerBaseClass' in favor of a new function,
'ZClasses.createZClassForBase' (because none of the machinery
needed a ProductContext instance anyway). Update OFSP and
ZCatalog products to use this machinery, instead of
'registerBaseClass'.