En Thu, 07 Jun 2007 08:23:48 -0300, Nathan Harmston  
<[EMAIL PROTECTED]> escribió:

> I m trying to implement an object which contains lazy" variables. My
> idea is to alter the getattr and the setattr methods. However I keep
> on getting a recursion error.

Instead of setattr/getattr, use a property, and you'll get much cleaner  
code.

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to