[Zope-dev] Overriding __getattr__ for requests only.

Christopher Petrilli petrilli@digicool.com
Fri, 12 Nov 1999 16:02:57 -0500


On 11/12/99 3:57 PM, Jeff K. Hoffman at jkhoffman@carolina.rr.com wrote:

> I am trying to write a new subclass of OFS.Folder (as a python product) to
> do the following: When a user requests /myFolder/index_html, myFolder
> will search itself, then its list of 'parents', returning the attribute
> from one of them if they have it, and raising an AttributeError if not.

Pardon my ignorance, but what exactly does this accomplish that isn't
accomplished by Acquisition?

Chris
-- 
| Christopher Petrilli        Python Powered        Digital Creations, Inc.
| petrilli@digicool.com                             http://www.digicool.com