From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VobSs-0006XY-IA for mharc-grub-devel@gnu.org; Thu, 05 Dec 2013 11:07:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VobSn-0006Rl-7R for grub-devel@gnu.org; Thu, 05 Dec 2013 11:07:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VobSm-0004PK-6s for grub-devel@gnu.org; Thu, 05 Dec 2013 11:07:41 -0500 Received: from v6.chiark.greenend.org.uk ([2001:ba8:1e3::]:54781 helo=chiark.greenend.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VobSm-0004PD-0n for grub-devel@gnu.org; Thu, 05 Dec 2013 11:07:40 -0500 Received: from [172.20.153.9] (helo=riva.pelham.vpn.ucam.org) by chiark.greenend.org.uk (Debian Exim 4.72 #1) with esmtps (return-path cjwatson@ubuntu.com) id 1VobSk-0007J2-Pp for grub-devel@gnu.org; Thu, 05 Dec 2013 16:07:38 +0000 Received: from ns1.pelham.vpn.ucam.org ([172.20.153.2] helo=riva.ucam.org) by riva.pelham.vpn.ucam.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1VobSj-0005TW-Db for grub-devel@gnu.org; Thu, 05 Dec 2013 16:07:37 +0000 Date: Thu, 5 Dec 2013 16:07:36 +0000 From: Colin Watson To: grub-devel@gnu.org Subject: Re: [PATCH] Replace print statement with sys.stdout.write for python3 compatibility Message-ID: <20131205160736.GA20694@riva.ucam.org> References: <20131204101202.GB3709@riva.ucam.org> <52A09C6B.9020701@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <52A09C6B.9020701@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:ba8:1e3:: X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Dec 2013 16:07:45 -0000 On Thu, Dec 05, 2013 at 04:31:55PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 04.12.2013 16:28, Mike Gilbert wrote: > > On Wed, Dec 4, 2013 at 5:12 AM, Colin Watson 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. > > If Colin is ok with this patch then so am I. Yeah, I am - thanks, Mike. Rebased and pushed. -- Colin Watson [cjwatson@ubuntu.com]