Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: UNSURE 0.334 X-Spam-Level: *** X-Spam-Evidence: '*H*': 0.38; '*S*': 0.05; 'operator': 0.05; "';'": 0.16; 'truely': 0.16; 'unary': 0.16; 'header:In-Reply-To:1': 0.22; 'appear': 0.23; 'to:name:python-list@python.org': 0.23; 'skip:( 30': 0.24; 'code': 0.25; 'lines': 0.30; 'to:addr:python-list': 0.33; 'read,': 0.36; 'but': 0.37; 'should': 0.38; 'easier': 0.38; 'skip:o 20': 0.38; 'subject:: ': 0.39; 'ok,': 0.39; 'to:addr:python.org': 0.39; 'received:98': 0.61; 'free': 0.63; 'received:98.138.90': 0.64; 'received:bullet.mail.ne1.yahoo.com': 0.64; 'received:98.138.91': 0.66; 'received:98.138': 0.67; 'received:mail.ne1.yahoo.com': 0.67; 'received:ne1.yahoo.com': 0.67; 'legal': 0.70; 'reply-to:addr:yahoo.com': 0.70; 'header :Reply-To:1': 0.71; 'subject:line': 0.73; 'received:98.138.90.57': 0.84; 'wish.': 0.91 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 615585.34140.bm@omp1044.mail.ne1.yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1312982377; bh=8dCAXXLl/NxhK1AxYpX+wnjPuGPNdMVfq3ZcjFBw3BU=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Ewoe7/Vex12fxZcpnzhhf94JWgZ7+Gzf5szBfALdjHG4SBWuKq0pzUyR/L7oD0eJkgFAE/zpTJ7qENM+fVoqkBV3Os/hCCp2+0vW2nyz1AfmkYLPKP5peZ7rCMKZLJQU+fShaBYGWTOfD+3hSE/VZAKmISNqQX7IN/7kIi3oAqg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=RBXCjWhjWaNm9hdSUMxihusKhgI63qxYILdMijtPy7atSLu43WmoIirUtccc5OYOUwhkB9jgsfBqe8TnPQhjB/9ZACGbdkzb7oLQjs0rRlNWYb2jtyQXNFD8xeC2sKxq2dnIVxXDCt8CRWhQnU0y26UjFD9bVd8+brBCJ/I0Tx4=; X-YMail-OSG: IATOKeAVM1mU52q2IjZ2defiNoJ61pcD6Bk2LHJc_sa9xsL CE_MJqFJvFgW4EgRs1CBeXYTgs33nIbz93Yq87zW93IcAX5yfMC.vE8Ys5sk DtBvV2JGI1uxttCDOEC8DY8I2SC8N7VO.SgzHNB.ICytWzlt62uu2yiel_mQ F8IYZibk7oQLkEkbKgUSHu33QRQGhslqS0xHwdEvHoiQZfba4_8eJGGoIVvD vpjhOadbLhvvcAJLpiNn8U6SWwrF9fLCGXRrk3YhGBDKxOJlx3SVMLH9jWtV Y19T.mfyV9ywqkzBvU2sWvzT2v3MyGzuf3E0RRsTrSZ0nQ05VIzqaJQvCadc TLdA2WxKPSAML4knB.WvRYlQGtZJI7mZB6TAYoGT3Xgih6tWam_lWNvR.31v zUc.oNtm07oBZr9_UDO5.rkMJhMnY.bvvekDEackfMA-- X-Mailer: YahooMailWebService/0.8.113.313619 References: <1312951356.77394.YahooMailNeo@web121518.mail.ne1.yahoo.com> <4e424208$0$29965$c3e8da3$5496439d@news.astraweb.com> <1312981104.89312.YahooMailNeo@web121520.mail.ne1.yahoo.com> Date: Wed, 10 Aug 2011 06:19:37 -0700 (PDT) From: Yingjie Lan Subject: Re: allow line break at operators To: "python-list@python.org" In-Reply-To: <1312981104.89312.YahooMailNeo@web121520.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Wed, 10 Aug 2011 17:54:04 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Yingjie Lan List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1312991645 news.xs4all.nl 23882 [2001:888:2000:d::a6]:52887 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:11137 >> In terms of easier to read, I find code easier to read when the=0A=0A>> = operators are at the beginnings of the lines (PEP 8 notwithstanding):=0A>>= =0A>> =A0 =A0x =3D (someobject.somemethod(object3, thing)=0A>> =A0 =A0 =A0 = =A0 + longfunctionname(object2)=0A>> =A0 =A0 =A0 =A0 + otherfunction(value1= , value2, value3))=0A>>=0A> =0A> Without the parentheses, this is legal but= (probably) useless; it=0A> applies the unary + operator to the return valu= e of those functions.=0A=0AIf ';' are employed (required), truely free line= -splitting should be OK, =0Athe operators may appear at the beginnings of t= he lines as you wish.=0A=0AYingjie=0A