Gentoo Archives: gentoo-python

From: Mike Gilbert <floppym@g.o>
To: gentoo-python@l.g.o
Subject: [gentoo-python] Re: [PATCH eselect-python 1/2] Store per-version interpreter preference in a file as well.
Date: Thu, 01 Nov 2012 18:49:07
Message-Id: CAJ0EP42u9vNaC70ui-YPjRR1SOY9n8fCmnXA1EgijmRdsRdK8Q@mail.gmail.com
1 On Thu, Nov 1, 2012 at 11:44 AM, Mike Gilbert <floppymaster@×××××.com> wrote:
2 > On Thu, Nov 1, 2012 at 7:54 AM, Michał Górny <mgorny@g.o> wrote:
3 >> The idea is very simple: /etc/env.d/python/python[23] with a one-line
4 >> value similar to the main interpreter /config file.
5 >>
6 >> That should be simpler & more reliable than reading a symlink. And at
7 >> some point we can replace the symlink with an $EPYTHON-aware wrapper
8 >> as well.
9 >
10 > I don't understand the point of this. Do we have some need to enable
11 > EPYTHON usages for scripts that have a python2 or python3 shebang?
12 >
13 > I also don't understand how a text file is more reliable than a
14 > symlink; they are basically the same thing, but the symlink has a
15 > different file mode.
16
17 Another reply that got lost due to wrong From: address.

Replies