grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Replace print statement with sys.stdout.write for python3 co


From: Mike Gilbert
Subject: Re: [PATCH] Replace print statement with sys.stdout.write for python3 compatibility
Date: Wed, 4 Dec 2013 10:28:36 -0500

On Wed, Dec 4, 2013 at 5:12 AM, Colin Watson <address@hidden> wrote:
> On Tue, Dec 03, 2013 at 08:14:09PM -0500, Mike Gilbert wrote:
>> Gmail likes to mangle patches, so I'm attaching it.
>
> Could we please use the clearer bilingual form of "from __future__
> import print_function" at the top followed by print(s, end="")?  This
> does require bumping our minimum required Python version to 2.6; but
> that was released five years ago, so I would have thought that would be
> an acceptable requirement by now.
>

That's fine by me. I have attached a patch for that.

Attachment: gentpl-python3-print.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]