Skip site navigation (1) Skip section navigation (2)

Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment

From: Bill Weinman <wew(at)bearnet(dot)com>
To: pgsql-testers(at)postgresql(dot)org
Subject: Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment
Date: 2010-09-14 00:16:27
Message-ID: 4C8EBEDB.50009@bearnet.com (view raw or flat)
Thread:
Lists: pgsql-testers
On 2010-09-12 8:19 PM, Tom Lane wrote:
> AFAICS, it'll pick whichever version is executed when you say "python".
> Doesn't seem like an unreasonable behavior to me.

I would argue that this is not reasonable behavior.

Because most current *NIX systems depend on python 2 for system scripts, 
the only way to reasonably use python 3 is to install it in addition to, 
not instead of, python 2. So most systems with python 3 will run python 
2 when you say "python" and python 3 when you say "python3".

For example, on my Mac running OSX 10.6.4 ...

   $ python -V
   Python 2.6.1

   $ python3 -V
   Python 3.1.1

-- 

Bill Weinman
- Online training: http://bw.org/u/l01

Follow Bill:
- Web: http://bw.org/
- Facebook: http://bw.org/u/fb01
- Linked In: http://bw.org/u/li01
- Twitter: http://bw.org/u/tw01

In response to

pgsql-testers by date

Next:From: Philippe RimbaultDate: 2010-09-14 09:42:45
Subject: record with incorrect prev-link
Previous:From: Bruce MomjianDate: 2010-09-13 22:17:22
Subject: Re: pg_upgrade 9b4 -> 9rc1 odd behavior with -u (non-)postgres

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group