From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3225 invoked by alias); 15 Jan 2011 11:42:22 -0000 Received: (qmail 3216 invoked by uid 22791); 15 Jan 2011 11:42:21 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 15 Jan 2011 11:42:17 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 9139E2BAC97; Sat, 15 Jan 2011 06:42:15 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id luHZjaXJEGEk; Sat, 15 Jan 2011 06:42:15 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 63D592BAC96; Sat, 15 Jan 2011 06:42:15 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 2F33F1459AD; Sat, 15 Jan 2011 06:42:14 -0500 (EST) Date: Mon, 17 Jan 2011 10:36:00 -0000 From: Joel Brobecker To: Jan Kratochvil Cc: Doug Evans , gdb-patches@sourceware.org Subject: Re: [RFA] ignore PYTHONHOME environment variable. Message-ID: <20110115114214.GY2504@adacore.com> References: <20101123163045.GA1737@host0.dyn.jankratochvil.net> <20101123173054.GW2634@adacore.com> <20101214071210.GQ2596@adacore.com> <20101214092645.GA20415@host0.dyn.jankratochvil.net> <20101214103305.GU2596@adacore.com> <20110113205504.GL2504@adacore.com> <20110115110917.GA14598@host1.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110115110917.GA14598@host1.dyn.jankratochvil.net> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-01/txt/msg00361.txt.bz2 On Sat, Jan 15, 2011 at 12:09:17PM +0100, Jan Kratochvil wrote: > On Sat, 15 Jan 2011 08:55:59 +0100, Doug Evans wrote: > > if GDB_PYTHONHOME provided > > use it > > elseif PYTHONHOME provided > > use it > > else > > use default > > endif > > > > That way a user can provide a PYTHONHOME and gdb will use it. But if > > it is incompatible with the python that gdb is using, they can still > > have PYTHONHOME - they just need to set GDB_PYTHONHOME too. > > I find this setup fine, Joel had some disagreements with it. I must have misunderstood, because I don't remember disagreeing to this proposal. I think that having a GDB_PYTHONHOME is a useful thing to have, regardless of the disagreement on PYTHONHOME (which, I think, is an orthogonal matter). I'd say go for it. -- Joel