pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bill Weinman <wew@bearnet.com>
To: pgsql-testers@postgresql.org
Subject: Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment
Date: Mon, 13 Sep 2010 17:16:27 -0700
Message-ID: <4C8EBEDB.50009@bearnet.com> (raw)
In-Reply-To: <20638.1284347988@sss.pgh.pa.us>
References: <5289151C-F7C2-4012-92F1-346FB9E1578F@comcast.net>
	<4C8BF66A.5020108@agliodbs.com>
	<1E79C9FD-5CA1-4194-BE88-417DE705EF6C@jwp.name>
	<4C8C0CAF.2050600@agliodbs.com>
	<82B929ED-E40D-4C65-8FFD-2E8613A1A1FF@jwp.name>
	<4C8D52DB.4050408@agliodbs.com>
	<97F0B24B-FD8D-4277-8E96-9680C66EF1D5@jwp.name>
	<20638.1284347988@sss.pgh.pa.us>

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



view thread (11+ messages)

Message-ID: <4C8EBEDB.50009@bearnet.com>
Permalink:  ../4C8EBEDB.50009@bearnet.com/
Also on:    postgresql.org/message-id/4C8EBEDB.50009@bearnet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-testers@postgresql.org
  Cc: wew@bearnet.com
  Subject: Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment
  In-Reply-To: <4C8EBEDB.50009@bearnet.com>
  References: <5289151C-F7C2-4012-92F1-346FB9E1578F@comcast.net> <4C8BF66A.5020108@agliodbs.com> <1E79C9FD-5CA1-4194-BE88-417DE705EF6C@jwp.name> <4C8C0CAF.2050600@agliodbs.com> <82B929ED-E40D-4C65-8FFD-2E8613A1A1FF@jwp.name> <4C8D52DB.4050408@agliodbs.com> <97F0B24B-FD8D-4277-8E96-9680C66EF1D5@jwp.name> <20638.1284347988@sss.pgh.pa.us> <4C8EBEDB.50009@bearnet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox