[Zope] where __changed__() method defined ?

Atsushi Shibata shibata at webcore.co.jp
Sat Oct 4 09:45:40 EDT 2003


On Sat, 04 Oct 2003 22:07:32 +0900
Chihiro Kuraya <kuraya at s-cradle.com> wrote:
> I encountered codes like "self.__changed__(1)",
> notifying ZODB that this object has changed.

See INSTANCE_HOME/lib/python/ZODB/cPersistence.c.
obj.__changed__(x) is a method in 'Persistent' or that's subclass.
The method is obsolete. Use obj._p_changed.


Atsushi Shibata (Webcore Corp.)
shibata at webcore.co.jp
http://www.webcore.co.jp/  (written in Japanese)
http://coreblog.org/  (written in Japanese,too ;-) )

More information about the Zope mailing list