From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4455 invoked by alias); 23 Nov 2010 16:31:35 -0000 Received: (qmail 4437 invoked by uid 22791); 23 Nov 2010 16:31:33 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Nov 2010 16:31:19 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oANGUqUE012367 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Nov 2010 11:30:52 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oANGUlUr007686 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Nov 2010 11:30:51 -0500 Received: from host0.dyn.jankratochvil.net (localhost.localdomain [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id oANGUkj8001821; Tue, 23 Nov 2010 17:30:46 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id oANGUjMi001816; Tue, 23 Nov 2010 17:30:45 +0100 Date: Tue, 23 Nov 2010 16:31:00 -0000 From: Jan Kratochvil To: Doug Evans Cc: Joel Brobecker , gdb-patches@sourceware.org, David Malcolm Subject: Re: [RFA] ignore PYTHONHOME environment variable. Message-ID: <20101123163045.GA1737@host0.dyn.jankratochvil.net> References: <1290474202-885-1-git-send-email-brobecker@adacore.com> <20101123030037.GA19962@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes 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: 2010-11/txt/msg00356.txt.bz2 On Tue, 23 Nov 2010 10:29:05 +0100, Doug Evans wrote: > On Mon, Nov 22, 2010 at 7:00 PM, Jan Kratochvil wrote: > > I am not a Python expect but I believe for GDB linked with the only regular > > system Python $PYTHONHOME should work, even for GDB-Python. [...] > I'm not sure I understand the objection. > AIUI, if gdb is linked with the system python then Joel's patch is > essentially a nop > (i.e. PYTHONHOME=/usr would still work). But PYTHONHOME=$HOME for some user overrides of system Python would no longer work. What would $PYTHONHOME otherwise be useful for? At least for $PERL5LIB I add $HOME{/share,/lib{,64}}/perl5 myself. It seems to me $PERL5LIB is in part $PYTHONHOME (.so) and $PYTHONPATH (.py). [RFA] ignore PYTHONHOME environment variable. http://sourceware.org/ml/gdb-patches/2010-11/msg00328.html Regards, Jan