All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Pitt <martin.pitt@ubuntu.com>
To: ofono@ofono.org
Subject: Re: [PATCH] Port ofono test scripts to also work with Python3
Date: Tue, 11 Mar 2014 17:43:13 +0100	[thread overview]
Message-ID: <20140311164313.GI2647@piware.de> (raw)
In-Reply-To: <531F2CE6.7080906@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1640 bytes --]

Hey Denis,

Denis Kenzior [2014-03-11 10:33 -0500]:
> Could you submit these patches using git-send-email?  It would be
> way easier for me to reply with my comments.

Done now. First time I use it, I hope I didn't mess up anything.

> >>> print()
> ()
> >>>
> 
> This is probably not what you intended.

Indeed not, thanks for spotting. Changed to print('') now, which does
the same (and the right thing) with both Python 2 and 3. The new
git-send-email'ed patch already has this.

> Patches 2 and 3 seem to be just fine.  Couldn't apply because they
> depend on patch 1.

Yes, unfortunately they are quite intrusive :/

> >Patch 5 does the remaining bits (unicode and raw_input, and updating
> >hashbangs) and is currently *not* bilingual. If you want these scripts
> >to only work with Python 3 (which should be fine these days), it can
> >be applied (we already did that in the ofono-rilmodem branch[2]).
> >Otherwise, if you generally agree to doing this conversion I'm
> >happy to change it to a form where it works with both Python versions.
> >But that's more involved and it's work that I would only do after
> >getting your "yes, we'll take it" confirmation. :-)
> >
> 
> I'm okay moving to Python 3, but you might want to send this as an
> RFC to garner more feedback.

That patch is a lot smaller, so it can be applied independently of the
other four. What you mean with "send as RFC" other than sending it to
the ML for review?

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-03-11 16:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-06  8:58 [PATCH] Port ofono test scripts to also work with Python3 Martin Pitt
2014-03-11 15:33 ` Denis Kenzior
2014-03-11 16:43   ` Martin Pitt [this message]
2014-03-11 19:44     ` Denis Kenzior

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=20140311164313.GI2647@piware.de \
    --to=martin.pitt@ubuntu.com \
    --cc=ofono@ofono.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.