From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EBBFF138CD0 for ; Sat, 30 May 2015 19:16:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54CF4E08E2; Sat, 30 May 2015 19:16:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D70CDE08E1 for ; Sat, 30 May 2015 19:16:22 +0000 (UTC) Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id CA8B6340CB9 for ; Sat, 30 May 2015 19:16:21 +0000 (UTC) Date: Sat, 30 May 2015 15:16:21 -0400 From: Mike Frysinger To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] [PATCH] runtests: rewrite in python Message-ID: <20150530191621.GK2101@vapier> Mail-Followup-To: gentoo-portage-dev@lists.gentoo.org References: <1433003354-18413-1-git-send-email-vapier@gentoo.org> <20150530101852.7b180cdf.dolsen@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/jvaajy/zP2g41+Q" Content-Disposition: inline In-Reply-To: X-Archives-Salt: 82bb9a3f-b232-480c-9494-bfd54f6da17f X-Archives-Hash: d957ccbbbfa02743cd4e4cb3e7338fa9 --/jvaajy/zP2g41+Q Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 30 May 2015 14:42, Mike Gilbert wrote: > On Sat, May 30, 2015 at 1:18 PM, Brian Dolbec wrote: > > On Sat, 30 May 2015 12:29:14 -0400 Mike Frysinger wrote: > >> +from __future__ import print_function > > > > If I'm not mistaken, this is not needed for 2.7+ anymore. It is > > still for 2.6 though. >=20 > You are mistaken. Without this, print is still treated as a statement > and anything in parens is treated as a tuple. not exactly true -- (1) and ("foo") are not tuples. need a comma to turn a paren into a tuple. e.g. (1,) and ("foo",). -mike --/jvaajy/zP2g41+Q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVagyEAAoJEEFjO5/oN/WBZU0QALlzmS+qVBIdQni9cnoWiTUg lcohGoQb7N0Mn/gsQQv9A4I8gKR5XT9Oxl6ZDx6lC/WF5R6tB7uIeancmumIuq7i /P723q+KfEQVTwCQgx0iFWNWp24+2NNvuuY6oyIV0dwqWZrBsrASk8vDI7G1A+ZM +i3Aw/aBuG8IyEE0MKVBQjLABdp0SQPvZJyK0A/Bhbq70oKFYdgXAAh2yVQLBP2V bNT432RGCDddNB/yGXZMh7wif+aLY37+LU7EtamLYhU2LhCeO4g1wSccJv1wHpAJ iJhay1PVxiDkzZI58SklL1AIrTAIPe9sDISWeH9zYFBIJhB5KiT2TrsUB8/3LG22 +EOvohmJ3uAQEByjZtDC9gqVqkQbCCIFyEuaalKyOWhvzdbcrWc2uAPgGkaOus6y xtIMCJ0IDGDcZhkuHAhXsc8SZLmeriYMYklVkbA46LHLzIYQU4kmwezP2+dMpNrH 5Or1u9XxO+rQlt2JERp+RT8D9QIZvUcHe5geQy7++AaR/scH2NIv8smU9GJ6ZwOH 32r3db5bVpZWZNod9GjxfrkREUBDFn+P1/T9Ce6RUoJ1dDCobZUsuwnGalHtXaFq 63zAT8myw002bOLoCStL43hyb7I+yAdPlqFPif6qmwDZB4guWdWIfRd1s1EQ3uud YFrmUnF2iILdJ7O1WDHc =kAwH -----END PGP SIGNATURE----- --/jvaajy/zP2g41+Q--