From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============2307189115300583780==" MIME-Version: 1.0 From: Martin Pitt Subject: Re: [PATCH] Port ofono test scripts to also work with Python3 Date: Tue, 11 Mar 2014 17:43:13 +0100 Message-ID: <20140311164313.GI2647@piware.de> In-Reply-To: <531F2CE6.7080906@gmail.com> List-Id: To: ofono@ofono.org --===============2307189115300583780== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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) --===============2307189115300583780== Content-Type: application/pgp-signature MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEKCmlRSWNCQUVC Q0FBR0JRSlRIejBoQUFvSkVORk84VjJ2NFJOSHVYb1FBSjN3OEN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