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

Barry Warsaw barry at debian.org
Fri May 1 13:18:17 UTC 2015


On May 01, 2015, at 01:27 PM, Bernhard Janetzki wrote:

>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)

I haven't looked at the code, but wouldn't

from __future__ import print_function

work better?

Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/py3porters-devel/attachments/20150501/ed36b308/attachment.sig>


More information about the py3porters-devel mailing list