Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79028 > unrolled thread

Re: while loop - multiple condition

Started byChris Angelico <rosuav@gmail.com>
First post2014-10-13 11:51 +1100
Last post2014-10-13 11:51 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: while loop - multiple condition Chris Angelico <rosuav@gmail.com> - 2014-10-13 11:51 +1100

#79028 — Re: while loop - multiple condition

FromChris Angelico <rosuav@gmail.com>
Date2014-10-13 11:51 +1100
SubjectRe: while loop - multiple condition
Message-ID<mailman.14808.1413161465.18130.python-list@python.org>
On Mon, Oct 13, 2014 at 11:43 AM, Dennis Lee Bieber
<wlfraed@ix.netcom.com> wrote:
>         ONE: Python uses short circuit evaluation: for an OR, the second clause
> is only looked at if the first clause is FALSE (for an AND, the first
> clause has to be TRUE before the second is evaluated).

Short-circuiting doesn't actually matter here, incidentally. It could
be eagerly evaluated and nothing would be different.

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web