On Tue, May 18, 2010 at 3:15 PM, Ethan Furman <et...@stoneleaf.us> wrote:

> Vincent Davis wrote:
>
>>
>> What you are pointing out is that the assignment is not reversed . But
>> that does make me thing of something I had not.
>>
>>  >>> afoo.letter['a'] = 345
>>  >>> afoo.A
>> 1
>>
>> Thats kinda a bummer, whats a good way to make sure afoo.A gets updated?
>>
>
> It's possible, and not too tough, but... why do you need it done that way?
>  Keeping redundant information seems like extra work with no advantage.
>
> Not sure I do, basicly I have a long list of values that could be
calculated from data. Some may take some time depending on the amount of
data. I don't what to calculate them all if not needed but I don't what the
user to need to know which are and which are not. But maybe @property is
what I need to be looking at, see my other post on the list.
Thanks
Vincent


> ~Ethan~
> --
> http://mail.python.org/mailman/listinfo/python-list
>

  *Vincent Davis
720-301-3003 *
vinc...@vincentdavis.net
 my blog <http://vincentdavis.net> |
LinkedIn<http://www.linkedin.com/in/vincentdavis>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to