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


Groups > comp.lang.python > #49155

Is this PEP-able? fwhile

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!hq-usenetpeers.eweka.nl!81.171.88.250.MISMATCH!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jimjhb@aol.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status UNSURE 0.475
X-Spam-Level ****
X-Spam-Evidence '*H*': 0.25; '*S*': 0.20; 'subject:PEP': 0.07; 'example)': 0.16; '(in': 0.22; 'example.': 0.24; 'second': 0.26; '(for': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'generally': 0.29; 'lists': 0.32; 'guess': 0.33; 'could': 0.34; 'but': 0.35; 'add': 0.35; 'charset:us-ascii': 0.36; 'being': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'from:no real name:2**0': 0.61; 'first': 0.61; 'header:Message-Id:1': 0.63; 'more': 0.64; 'statement,': 0.68; 'subject:this': 0.83; 'ian,': 0.84; 'received:172.29.41.8': 0.84; 'received:64.12.224': 0.84; 'received:mtaomg-ma01.r1000.mx.aol.com': 0.84; 'results,': 0.84; 'taken.': 0.84; 'technically': 0.84
References <8D03F2B8CF0E7BE-1864-1796B@webmail-m103.sysops.aol.com>
To python-list@python.org
Subject Is this PEP-able? fwhile
In-Reply-To <8D03F2B8CF0E7BE-1864-1796B@webmail-m103.sysops.aol.com>
X-MB-Message-Source WebUI
MIME-Version 1.0
From jimjhb@aol.com
X-MB-Message-Type User
Content-Type multipart/alternative; boundary="--------MB_8D03F312C7A588B_1864_58037_webmail-m103.sysops.aol.com"
X-Mailer AOL Webmail 37834-STANDARD
X-Originating-IP [208.67.228.35]
Date Mon, 24 Jun 2013 16:33:09 -0400 (EDT)
x-aol-global-disposition G
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1372105989; bh=A7OS6iigztzJN5KVzAZ96Ny+i/sFkaxNXvxhOzAdox4=; h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type; b=s+cFsNuau6Dlcz7WHq+magz76jjtfnTJAOuJI7nqvVBagjRnUz3txF6J76GrtXOnw lycM5qUO4Bg272brw2ROhFAFbD2cQZnc6iC/QxtP/GxnnWePHjSmXF3TuXu9zFd6Sj 2m6dqaZ0NRkClzVQ+kLxWQABMr8orbJvuCzfxCZA=
X-AOL-SCOLL-SCORE 0:2:187630608:93952408
X-AOL-SCOLL-URL_COUNT 0
x-aol-sid 3039ac1d290851c8ad052b22
X-Mailman-Approved-At Tue, 25 Jun 2013 14:50:06 +0200
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3825.1372164608.3114.python-list@python.org> (permalink)
Lines 41
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1372164608 news.xs4all.nl 16005 [2001:888:2000:d::a6]:34411
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:49155

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Ian,


Regarding your first message breaks are anathema (for many) and your other alternative is complicated.


Regarding your second post, anding of lists is allowed, but generally returns non-utile results, but point taken.
I guess technically it could be the last statement, with the condition just being ListD in your example.  To make
the condition more complex (in your example) you'd have to add parens.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Is this PEP-able?   fwhile jimjhb@aol.com - 2013-06-24 16:33 -0400

csiph-web