Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] python 2.x vs 3.x
Date: Sun, 19 Feb 2012 01:39:59
Message-Id: CAEH5T2PdhTN=AM1Xv16OsHo1OT_q=YBjLTYQAGZtPWaZcVc13Q@mail.gmail.com
In Reply to: [gentoo-user] python 2.x vs 3.x by Mark Knecht
1 On Sat, Feb 18, 2012 at 6:18 PM, Mark Knecht <markknecht@×××××.com> wrote:
2 > In a current thread started by Meino where he is having trouble
3 > emerging hydrogen he reported the following quoted data to Neil. I
4 > don't believe Neil has responded yet but Meino's data brought me back
5 > to a question I've meant to ask for a while so I'll take this
6 > opportunity.
7 >
8 > From Meino:
9 >
10 > <QUOTE>
11 > With
12 >
13 >   eselect python list
14 >
15 > I get
16 >
17 > Available Python interpreters:
18 >  [1]   python2.6
19 >  [2]   python2.7
20 >  [3]   python3.1
21 >  [4]   python3.2 *
22 > </QUOTE>
23 >
24 > which shows python3.2 as the system wide default.
25 >
26 >   It's been my understanding ever since we first emerged any
27 > python-3.x version that we were not supposed to set any version of
28 > python3 as the system wide default. On all of my systems I have
29 > something like this:
30 >
31 > c2stable ~ # eselect python list
32 > Available Python interpreters:
33 >  [1]   python2.7 *
34 >  [2]   python3.2
35 > c2stable ~ # eselect python list --python2
36 > Available Python 2 interpreters:
37 >  [1]   python2.7 *
38 > c2stable ~ # eselect python list --python3
39 > Available Python 3 interpreters:
40 >  [1]   python3.2 *
41 > c2stable ~ #
42 >
43 >   Now, like Paul Hartman I didn't have any trouble building and
44 > running Hydrogen as a Jack client. It works just fine for me. However
45 > no one else seemed to have picked up on Meino's configuration which
46 > makes me wonder if I missed the memo to make the 3.x version of the
47 > system wide default.
48 >
49 >   What is the current best practice in this area?
50 >
51 > Cheers,
52 > Mark
53 >
54
55 I still have 2.7 set as default, but even after changing it to 3.2
56 that package still builds for me (and still shows linux2 not linux3
57 when it is emerging). The only overlays I use are nx and vmware.