[Zope-dev] ZODB now supports user-defined __get/set/delattr__ methods

Jim Fulton jim@digicool.com
Tue, 16 May 2000 14:02:18 -0400


I've just checked in some changes to ExtensionClass, 
and ZODB in the Zope CVS tree that provide support 
for user-defined (python) __get/set/delattr__ methods.  
These methods now have the same semantics as they do 
in standard Python classes.  

This means that you can define your own 
__get/set/delattr__ hooks and they will automatically
work with, rather than break, the persistence system's
use of the low-level attribute hooks.


These changes are available in the Zope public CVS 
and will be available in future 
Zope releases, including 2.2 and it's beta releases. 
The changes are not in the 2.2 alpha1 release.

Jim

--
Jim Fulton           mailto:jim@digicool.com
Technical Director   (888) 344-4332              Python Powered!
Digital Creations    http://www.digicool.com     http://www.python.org

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.