[Zope] Adding a base class to a Z Class
Dieter Maurer
dieter@handshake.de
Fri, 21 Jun 2002 23:46:22 +0200
douwe@oberon.nl writes:
> ... rebasing a ZClass ...
> Except that ever since, all changes to the new ZBase are ignored. If I
> change a method in ZBase and call that method using an instance of
> ZDerived1, I get unchanged results. Somewhere a copy of the old ZBase seems
> to lurk around. How can that be?
Did you restart your Zope?
Until you do, the instance will use the old class (via Python's
"sys.modules" cache).
Dieter