[py3porters-devel] [Piuparts-devel] when to remove python2 support? (was Re: [Needs Port] piuparts.debian.org

Bernhard Janetzki bernhard at janetzki.eu
Fri May 1 11:27:52 UTC 2015


Hi Holger,

> On 01 May 2015, at 12:58, Holger Levsen <holger at layer-acht.org> wrote:
> 
> On Dienstag, 28. April 2015, Bernhard Janetzki wrote:
>> Here are three more patches:
>> 
>> d766f03 make map stmts. py3 compatible
>> 0668df7 make dict stuff py3 compatible
> 
> thanks, I've picked those two.

Thanks!

>> 343f9ac make print stmts. py3 compatible
> 
> But this one, essentiall changing print() to print(()) - seriously?

I’m also not sure if this change is necessary. At least it keeps the output identical :-)

python2 -c "print(1,2)"
(1, 2)
python3 -c "print(1,2)"
1 2
python3 -c "print((1,2))"
(1, 2)


Best,
  Bernhard

--
kid: 99C3C059
fpr: 90E7 F356 3F9D 6595 616F  9068 DE13 283B 99C3 C059


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.alioth.debian.org/pipermail/py3porters-devel/attachments/20150501/56756750/attachment.sig>


More information about the py3porters-devel mailing list