[ZWeb] Problems with /acl_users

Shane Hathaway shane@digicool.com
Tue, 26 Sep 2000 11:15:47 -0400


Jim Fulton wrote:
> > > Okay. Let's hope then that there is no code counting on __getattr__ being
> > > implemented then.
> 
> Again, I can live with it implementing __getattr__, especially
> if it uses it *after* normal attribute lookup.

Now you tell me. ;-)  It works after normal lookup, as you say.

> There's no need to mess with set/delattr.
> 
> In general, I think really big folders should use getitem, since
> they really wanted to be treated as collections rather than instances
> (wrt subobjects).  I think getattr makes sense in this case
> for hysterical  reasons.

At the moment, however, we seem to be safe without a __getattr__.  I'll
change it when/if the need arises.

Shane