From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CFD54138010 for ; 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 ; 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 ; Thu, 1 Nov 2012 18:48:58 +0000 (UTC) Received: by mail-ea0-f181.google.com with SMTP id m6so1204935eab.40 for ; Thu, 01 Nov 2012 11:48:56 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Discussions centering around the Python ecosystem in Gentoo Linux 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: References: <1351770893-1217-1-git-send-email-mgorny@gentoo.org> Date: Thu, 1 Nov 2012 14:48:55 -0400 Message-ID: Subject: [gentoo-python] Re: [PATCH eselect-python 1/2] Store per-version interpreter preference in a file as well. From: Mike Gilbert 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 wrot= e: > On Thu, Nov 1, 2012 at 7:54 AM, Micha=C5=82 G=C3=B3rny 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.