From owner-freebsd-python@FreeBSD.ORG  Wed Sep 26 09:07:48 2012
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: python@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 050B11065673;
	Wed, 26 Sep 2012 09:07:48 +0000 (UTC)
	(envelope-from cvs-src@yandex.ru)
Received: from forward3h.mail.yandex.net (forward3h.mail.yandex.net
	[IPv6:2a02:6b8:0:f05::3])
	by mx1.freebsd.org (Postfix) with ESMTP id 71B158FC14;
	Wed, 26 Sep 2012 09:07:47 +0000 (UTC)
Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144])
	by forward3h.mail.yandex.net (Yandex) with ESMTP id C6BAA1360BF7;
	Wed, 26 Sep 2012 13:07:45 +0400 (MSK)
Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1])
	by smtp1h.mail.yandex.net (Yandex) with ESMTP id 273FA1340127;
	Wed, 26 Sep 2012 13:07:45 +0400 (MSK)
Received: from unknown (unknown [77.66.155.61])
	by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id
	7iN4smc9-7iN4fCcj; Wed, 26 Sep 2012 13:07:44 +0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
	t=1348650465; bh=2ZRhNr1Xvy5liDW0ajfHH86/rdb1tqU1U9v70fGnBjE=;
	h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:
	References:In-Reply-To:Content-Type:Content-Transfer-Encoding;
	b=tyDy9mopfbZwimHnN0ZiKusiDPnO6TKXHxnPXJK8i/GlrekU/HUxpBHANb+/3MBzw
	UO8jwdHukmD9LMFY0S3eUtnkblPluRyS3GKusgA/ZW/+bxu/kB6lGDfQkfXVjQC/u5
	JV27RRsPeXkBa4kWbnRyvmMrbs0zpfUhU5s7fl9Y=
Message-ID: <5062C5CB.4060109@yandex.ru>
Date: Wed, 26 Sep 2012 13:07:23 +0400
From: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:15.0) Gecko/20120912 Thunderbird/15.0.1
MIME-Version: 1.0
To: Chris Rees <utisoft@gmail.com>
References: <5062AAEA.4000401@FreeBSD.org>
	<CADLo838ZysqxVHPuj6_M223ohanPWRoqc2mwePNeBYbGa2OfRQ@mail.gmail.com>
In-Reply-To: <CADLo838ZysqxVHPuj6_M223ohanPWRoqc2mwePNeBYbGa2OfRQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Dmitry Sivachenko <demon@freebsd.org>, python@freebsd.org
Subject: Re: bin/python3 symlink for python3X ports
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, 
	<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Sep 2012 09:07:48 -0000

Chris Rees wrote on 26.09.2012 13:03:
> On 26 Sep 2012 08:13, "Dmitry Sivachenko" <demon@freebsd.org> wrote:
>>
>> Hello!
>>
>> It is common to have both python-2 and python-3 packages installed.
>> To help transition it is convenient to have bin/python to point to
> python-2 binary.
>>
>> Now for every X in python3X we have a bin/python3.X binary.
>>
>> So for every new python3.X release one should change shebang line in
> scripts.
>>
>> I propose to tweak python3X ports so they create bin/python3 symlink
> pointing to the installed python3.X binary so that people can always use
> 'python3' name.
>>
>> What do you think?
>
> I think it's a great idea, at least minimising weird breakage when python
> is updated.
>
> Have you a patch?  Also, what do other OSes do?
>
> Chris

AFAIK, linuces has python2 and python3 symlinks. So this is generally 
common idea. And I +1 for it.


-- 
Regards,
Ruslan

Tinderboxing kills... the drives.