From owner-svn-src-all@FreeBSD.ORG Tue Jan 22 18:07:46 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C803F501; Tue, 22 Jan 2013 18:07:46 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-ob0-f177.google.com (mail-ob0-f177.google.com [209.85.214.177]) by mx1.freebsd.org (Postfix) with ESMTP id 2C6209FE; Tue, 22 Jan 2013 18:07:46 +0000 (UTC) Received: by mail-ob0-f177.google.com with SMTP id wc20so6683895obb.36 for ; Tue, 22 Jan 2013 10:07:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=mIG0CJD1rxPhvRrQcOlt4G0gdtNp1zvjfxx5Z8Oein0=; b=z++tfGOnyRXWaye1PxY3yxg9vXHUYKv68UQdcOeJUtOit0cwjlKX5MdLCmNQ1ScArK pmOcJxVPI5qLrJuRucC0ble2539QW3eJoXRYNjgCAZFoWzJtEk6ynijFbQOdIxzeLEB5 2WGAuO2dEj3PIytPzOC6db3VrfC/nvRdJIF3k0GAS9Z2AACTQ06+62aNFqu/k9jxwIpV dGx9qJnSP2A4+NlzleRu0/GDNzAquO6kitflrdpL+PS5jkYgQzEz1rl0+8k/2FgNR7T9 25cK/0HZF051FJD5Tu/H94tW4iJ4gjPvvhR65qdmd4sxnMtglarQUA4os4KL49XlYyWg PTLQ== MIME-Version: 1.0 X-Received: by 10.182.8.73 with SMTP id p9mr17473397oba.88.1358878065667; Tue, 22 Jan 2013 10:07:45 -0800 (PST) Sender: carpeddiem@gmail.com Received: by 10.60.25.163 with HTTP; Tue, 22 Jan 2013 10:07:45 -0800 (PST) In-Reply-To: <201301221050.35473.jhb@freebsd.org> References: <201301170420.r0H4Ks7N092837@svn.freebsd.org> <201301221050.35473.jhb@freebsd.org> Date: Tue, 22 Jan 2013 13:07:45 -0500 X-Google-Sender-Auth: Guwt4QOJORuPPH0-G75plBQEvEg Message-ID: Subject: Re: svn commit: r245536 - head/tools/tools/notescheck From: Ed Maste To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Eitan Adler X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2013 18:07:46 -0000 On 22 January 2013 10:50, John Baldwin wrote: > On Wednesday, January 16, 2013 11:20:54 pm Eitan Adler wrote: >> Author: eadler >> Date: Thu Jan 17 04:20:53 2013 >> New Revision: 245536 >> URL: http://svnweb.freebsd.org/changeset/base/245536 >> >> Log: >> Convert to Python 3 >> >> Approved by: cperciva > > Do we really want to do this? The ports tree still installs 2.7 by default > IIRC, and I for one always use 2.x (and I wrote this script originally). Your > changes make this script no longer work with 2.x. I think we should defer > switching various scripts to Python 3 until we start installing it as the > default python. I agree that this is premature while Python 3 is not the default. Fortunately there's an easy fix for Python 2.6+ (from __future__ import print_function), which I just committed in r245804. -Ed