[Zope-dev] Why is ZEvent not ZClass subclassable?

Martijn Pieters mj@digicool.com
Tue, 7 Mar 2000 18:11:10 +0100


From: "Loren Stafford" <lstaffor@dynalogic.com>
> I still haven't found an answer to this question. Anyone have any idea why
> or how to figure out?
>
> Below is the code that defines the ZEvent class (minus some of its
methods)
>
>
> > I want the ZEvent class of ZScheduler to be subclassable by ZClasses. I
> > think I did everything specified in
> >
> > http://www.zope.org/Documentation/Guides/ZDG-HTML/ZDG.6.3.11.html
> >
> > to make a subclassable class (i.e. registered it with
> registerBaseClass()).
> > However when I tried to make a ZClass, ZEvent was not in the list of
base
> > classes. What else do I need to do?

<GIANT SNIP>

Sorry Loren, I have absolutely no idea. ZCatalog does this for CatalogAware,
so this should work as well. Have you tried my suggestion of useing the
Python Debugger? Or did that email never go because of one of my machine
crashes?

Martijn Pieters
| Software Engineer    mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope       http://www.zope.org/
|   The Open Source Web Application Server
---------------------------------------------