From: Mike Frysinger <vapier@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] [PATCH] runtests: rewrite in python
Date: Sat, 30 May 2015 15:16:21 -0400 [thread overview]
Message-ID: <20150530191621.GK2101@vapier> (raw)
In-Reply-To: <CAJ0EP40qHErCh1z9HnQwch2jRgwfSXz=q8ydRssgaosWoh4dRw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 566 bytes --]
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.
>
> 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
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2015-05-30 19:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-30 16:29 [gentoo-portage-dev] [PATCH] runtests: rewrite in python Mike Frysinger
2015-05-30 17:18 ` Brian Dolbec
2015-05-30 18:27 ` Mike Frysinger
2015-05-30 19:30 ` Brian Dolbec
2015-06-04 4:26 ` Mike Frysinger
2015-06-01 21:16 ` Alexander Berntsen
2015-06-11 7:12 ` Brian Dolbec
2015-05-30 18:42 ` Mike Gilbert
2015-05-30 19:16 ` Mike Frysinger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150530191621.GK2101@vapier \
--to=vapier@gentoo.org \
--cc=gentoo-portage-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox