From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-python+bounces-196-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id CFD54138010
	for <garchives@archives.gentoo.org>; Thu,  1 Nov 2012 18:49:07 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id ABF9721C011;
	Thu,  1 Nov 2012 18:49:00 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id D3A2321C011
	for <gentoo-python@lists.gentoo.org>; Thu,  1 Nov 2012 18:48:59 +0000 (UTC)
Received: from mail-ea0-f181.google.com (mail-ea0-f181.google.com [209.85.215.181])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: floppym)
	by smtp.gentoo.org (Postfix) with ESMTPSA id D279733D956
	for <gentoo-python@lists.gentoo.org>; Thu,  1 Nov 2012 18:48:58 +0000 (UTC)
Received: by mail-ea0-f181.google.com with SMTP id m6so1204935eab.40
        for <gentoo-python@lists.gentoo.org>; Thu, 01 Nov 2012 11:48:56 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-python@lists.gentoo.org>
List-Help: <mailto:gentoo-python+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-python+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-python+subscribe@lists.gentoo.org>
List-Id: Discussions centering around the Python ecosystem in Gentoo Linux <gentoo-python.gentoo.org>
X-BeenThere: gentoo-python@gentoo.org
X-BeenThere: gentoo-python@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.14.182.9 with SMTP id n9mr100825136eem.24.1351795736046; Thu,
 01 Nov 2012 11:48:56 -0700 (PDT)
Received: by 10.223.75.137 with HTTP; Thu, 1 Nov 2012 11:48:55 -0700 (PDT)
In-Reply-To: <CAJ0EP41Ww9GKYto8A8gX-L+D2=3+MFhYHmUZXZNvm+Ni5ApSbw@mail.gmail.com>
References: <1351770893-1217-1-git-send-email-mgorny@gentoo.org>
	<CAJ0EP41Ww9GKYto8A8gX-L+D2=3+MFhYHmUZXZNvm+Ni5ApSbw@mail.gmail.com>
Date: Thu, 1 Nov 2012 14:48:55 -0400
Message-ID: <CAJ0EP42u9vNaC70ui-YPjRR1SOY9n8fCmnXA1EgijmRdsRdK8Q@mail.gmail.com>
Subject: [gentoo-python] Re: [PATCH eselect-python 1/2] Store per-version interpreter
 preference in a file as well.
From: Mike Gilbert <floppym@gentoo.org>
To: gentoo-python@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 69a760f1-8caa-4922-9a7d-6d3f3ae367c4
X-Archives-Hash: 0156053098fe7db3aaf731cd7b098b3d

On Thu, Nov 1, 2012 at 11:44 AM, Mike Gilbert <floppymaster@gmail.com> wrot=
e:
> On Thu, Nov 1, 2012 at 7:54 AM, Micha=C5=82 G=C3=B3rny <mgorny@gentoo.org=
> wrote:
>> The idea is very simple: /etc/env.d/python/python[23] with a one-line
>> value similar to the main interpreter /config file.
>>
>> That should be simpler & more reliable than reading a symlink. And at
>> some point we can replace the symlink with an $EPYTHON-aware wrapper
>> as well.
>
> I don't understand the point of this. Do we have some need to enable
> EPYTHON usages for scripts that have a python2 or python3 shebang?
>
> I also don't understand how a text file is more reliable than a
> symlink; they are basically the same thing, but the symlink has a
> different file mode.

Another reply that got lost due to wrong From: address.