Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #79028
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone01.am1.xlned.com!bcyclone01.am1.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.035 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'clause': 0.09; 'subject:while': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'looked': 0.18; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'second': 0.26; '(for': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; '13,': 0.31; 'could': 0.34; 'received:google.com': 0.35; 'false': 0.36; 'short': 0.38; 'matter': 0.61; 'first': 0.61; 'circuit': 0.84; 'different.': 0.84; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=Yh3z82TrvY+gLtytuSiU1bcdUTOtDq0nuoP1QMP/hGU=; b=Jzrmyd50GWuZNcPv8ZjBkWYXSXzSdeRQN/aQ/+WV+sTSn3l9IuCndGNWhUN+CHLePJ KzC/U0LKXzpF3LaJha5zorNp8Zr+zjXm4Y9Y/xbqAQTuaSlbu+6jjjO1prWLWhxmKrNd zhgLljagQiAG9AoRQkDB9eGUlFht6Ce08v2CxBezSI6zl83d3b7Jhe4C3R65Eo+7/5/9 bv6mGIJ08zXoGRLMJ1/AyHI4kJlUtrrOxdaX8wnK9iR7Kgk1G4GxRkpHy68Vx4JJVaRp THqiU7qSxGbm4VsM3rNsWZIkSENhSgXUvmkXvv5RFuAZ3BvJyzqRjdCcchB5ttp2cC1u MNcw== |
| MIME-Version | 1.0 |
| X-Received | by 10.42.185.4 with SMTP id cm4mr16261088icb.21.1413161462144; Sun, 12 Oct 2014 17:51:02 -0700 (PDT) |
| In-Reply-To | <6l7m3apud9b3jg4pid3p9rpvuun699m3gl@4ax.com> |
| References | <loom.20141012T190458-947@post.gmane.org> <6l7m3apud9b3jg4pid3p9rpvuun699m3gl@4ax.com> |
| Date | Mon, 13 Oct 2014 11:51:02 +1100 |
| Subject | Re: while loop - multiple condition |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14808.1413161465.18130.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1413161465 news.xs4all.nl 2836 [2001:888:2000:d::a6]:33128 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 3297 |
| X-Received-Body-CRC | 3837669678 |
| Xref | csiph.com comp.lang.python:79028 |
Show key headers only | View raw
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: while loop - multiple condition Chris Angelico <rosuav@gmail.com> - 2014-10-13 11:51 +1100
csiph-web