[Zope-Checkins] CVS: Zope2 - ProductContext.py:1.22.2.4

tseaver@digicool.com tseaver@digicool.com
Wed, 1 Nov 2000 15:11:11 -0500 (EST)


Update of /cvs-repository/Zope2/lib/python/App
In directory korak.digicool.com:/home/tseaver/Zope2/lib/python/App

Modified Files:
      Tag: Zope-2_2-branch
	ProductContext.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'.