svn commit: r245536 - head/tools/tools/notescheck

Ed Maste emaste at freebsd.org
Tue Jan 22 18:07:46 UTC 2013


On 22 January 2013 10:50, John Baldwin <jhb at freebsd.org> 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


More information about the svn-src-all mailing list