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()".


On Sat, Dec 13, 2008 at 9:57 PM, r <rt8...@gmail.com> wrote:

> These are just the kind of things that make Python so beautiful ;)
> Thanks Guido!
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to