[Zope-dev] wrapping unexistent objects
Maurizio Boriani
debauxit@yahoo.it
03 Dec 2002 16:58:07 +0100
>>>>> "Casey" == Casey Duncan <casey@zope.com> writes:
Casey> If you want an object to be able to handle calls to
Casey> undefined methods, you'll probably need to use a
Casey> __getattr__ hook. They can be a little tricky to get right
Casey> (you want to filter out names that start with "_" or "aq"
Casey> or else you'll be in trouble), and they don't have access
Casey> to acquisition, but they will allow you to intercept calls
Casey> to arbitrary names on an object.
have you some examples or docs about this? I'm tring using it but my product
felt in an unfinisched loop. Any suggestion
Casey> -Casey
TIA,
baux