Not that I'm against promoting Python, but most languages have support for short circuit evaluation. That's why you usually use && and || in C, C++, C# and Java- & and | will always evaluate both sides. Short circuit evaluation is what allows you to write things like "if foo is not None and foo.isTrue()". <br>
<br><br><div class="gmail_quote">On Sat, Dec 13, 2008 at 9:57 PM, r <span dir="ltr"><<a href="mailto:rt8396@gmail.com">rt8396@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
These are just the kind of things that make Python so beautiful ;)<br>
Thanks Guido!<br>
<div><div></div><div class="Wj3C7c">--<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>