I would like to restrict the types of objects (from a python-based product)
that may be placed in Folders, or any other dumb container, based on certain
conditions.
For example: I'd like to restrict the number of a certain type of object
that may appear in a folder. The end-user can add up
1. I need to track changes to particular attributes of an object in a python
based product.
2. I redefine __setattr__ to perform the necessary operations.
def __setattr__(self, name, value):
some nice comments
#pre-processing
#store the specified attribute
From: Dieter Maurer [EMAIL PROTECTED]
To: Brian Oliver [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [Zope-dev] aq_parent not available in __setattr__
Date: Tue, 5 Feb 2002 23:08:13 +0100
Brian Oliver writes:
...
Share reported for __getattr__ (-- mailing list archives)
that the self passed