On Tue, 24 Oct 2000 20:16:30 GMT, "Jason Spisak" <[EMAIL PROTECTED]>
wrote:

>I am trying to address shortcomings like not having a
>"dictionary" type property in Zope properties, etc.

Aha! in that case you dont really need to convert from ZClass to
python class; you only need to modify your existing ZClass so that it
has an extra python base class.

* No need to trawl through your database to convert each instance

* No need to rewrite the bits that work well as a ZClass


You can do this using the method _setBasesHoldOnToYourButts defined in
ZClass.py, and you may be able to find some instructions in the list
archives.

(Its often safer to create a special python base class for each new
ZClass, even if that class is empty, just in case)

Toby Dickenson
[EMAIL PROTECTED]

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to