<font size="2"><font face="courier new,monospace"><br></font></font><br><div class="gmail_quote">On Tue, May 18, 2010 at 2:41 PM, Ethan Furman <span dir="ltr"><<a href="mailto:ethan@stoneleaf.us">ethan@stoneleaf.us</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Do you expect afoo.letter[x] to always be afoo.x?  Because they aren't:<br>
<br>
>>> afoo.A = 9<br>
>>> afoo.letter['a']<br>
1<br></blockquote><div><br></div><div>What you are pointing out is that the assignment is not reversed . But that does make me thing of something I had not.</div><div><br></div><div>>>> afoo.letter['a'] = 345</div>
<div>>>> afoo.A</div><div>1</div><div><br></div><div>Thats kinda a bummer, whats a good way to make sure affo.A gets updated?</div><div><br></div><div>Vincent</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888">
<br>
~Ethan~</font><div><div></div><div class="h5"><br>
-- <br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</div></div></blockquote></div><br><div name="mailplane_signature"> <table><tbody><tr><td width="80">
<img src="http://www.gravatar.com/avatar/226e40fdc55d4597a46279296a616384.png">
</td><td width="10"></td><td width="127" align="center">
<div style="padding-right: 5px; padding-left: 5px;
font-size: 11px; padding-bottom: 5px; color: #666666;
padding-top: 5px">
  <p><strong>Vincent Davis<br>
    720-301-3003
  </strong><br>
    
    <a href="mailto:vincent@vincentdavis.net">vincent@vincentdavis.net</a>  </p>
<div style="font-size: 10px">
  <a href="http://vincentdavis.net">my blog</a> |
  <a href="http://www.linkedin.com/in/vincentdavis">LinkedIn</a></div></div></td></tr><tr></tr></tbody></table></div>