Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 37B85633FD0 for ; Mon, 13 Sep 2010 21:26:48 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 50218-05 for ; Tue, 14 Sep 2010 00:26:40 +0000 (UTC) X-Greylist: delayed 00:10:10.179378 by SQLgrey-1.7.6 Received: from smtp175.iad.emailsrvr.com (smtp175.iad.emailsrvr.com [207.97.245.175]) by mail.postgresql.org (Postfix) with ESMTP id 78232632F63 for ; Mon, 13 Sep 2010 21:26:40 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp47.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 4742F3A8284 for ; Mon, 13 Sep 2010 20:16:28 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp47.relay.iad1a.emailsrvr.com (Authenticated sender: wew-AT-bearnet.com) with ESMTPSA id 057BA3A817F for ; Mon, 13 Sep 2010 20:16:27 -0400 (EDT) Message-ID: <4C8EBEDB.50009@bearnet.com> Date: Mon, 13 Sep 2010 17:16:27 -0700 From: Bill Weinman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 MIME-Version: 1.0 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 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> In-Reply-To: <20638.1284347988@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.6 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7 X-Spam-Level: X-Archive-Number: 201009/21 X-Sequence-Number: 197 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