<div dir="ltr">The assignments are going left to right.<div><br></div><div>Alex</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 1, 2013 at 8:24 PM, Brantley Harris <span dir="ltr"><<a href="mailto:deadwisdom@gmail.com" target="_blank">deadwisdom@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>> a = {}</div>> a['a'] = a[a['a']] = 'b'<br><div>{'a': 'b', 'b': 'b'}<br>
</div><div><br></div><div>What the what?  I would think that should KeyError, but it runs fine.  Someone splain.</div>
</div>
<br>_______________________________________________<br>
Chicago mailing list<br>
<a href="mailto:Chicago@python.org">Chicago@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/chicago" target="_blank">http://mail.python.org/mailman/listinfo/chicago</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>"I disapprove of what you say, but I will defend to the death your right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire)<br>"The people's good is the highest law." -- Cicero<br>

</div>