Path: csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.python Subject: Re: Ignore error with non-zero exit status Date: Mon, 21 Dec 2015 08:51:09 +0100 Organization: PointedEars Software (PES) Lines: 38 Message-ID: <2721557.Hpeo4xmTem@PointedEars.de> References: <3883651.fOIMIIEhYO@PointedEars.de> <2062582.Z8LLNUJk5W@PointedEars.de> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1450684271 26062 eJwFwQkBwDAIA0BL4wtUDqXEv4TdhUEw6Qh4MFhQ1bk1E9R5yRX/CNtDTtp6v73SJ0qJ2/kDLZAR/A== (21 Dec 2015 07:51:11 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Mon, 21 Dec 2015 07:51:11 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNyMkBwDAIA7CVymETxgFS9h+h1VMwCiecoGOxWTuiNzVbTKqpek6KeZsqXn06coIMEwDv2lb5nb8Rh4sPNFkUqA== Cancel-Lock: sha1:bBTKYul5ZnVzM9eJIoTFOUNSqoM= X-NNTP-Posting-Host: eJwNxskRwDAIBLCWIGsWXA7H0H8Jjl4yUNl+aDy2tvCrHqnVq4078KhWyvdXplBuKQvdmqB4PhPNEPc= Xref: csiph.com comp.lang.python:100648 Chris Angelico wrote: > On Mon, Dec 21, 2015 at 9:46 AM, Thomas 'PointedEars' Lahn > wrote: >>> Percent formatting isn't going away. There's no need to tell people to >>> abandon it in favour of .format(), unless they actually need a feature >>> of .format(). >> >> ,- >> | >> | […] >> | This method of string formatting is the new standard in Python 3, and >> | should be preferred to the % formatting described in > | Operations> in new code. > > That text doesn't exist in the 3.x documentation: > > https://docs.python.org/3/library/stdtypes.html#str.format Of course it does not. That would be stupid. > There's a somewhat weaker recommendation here: > > https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting AISB. > But it's been clearly stated that .format is not going to do away with > percent formatting, and all language of "new-style formatting" has been > removed so as not to cause confusion. Wishful thinking, twice. -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.