From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24643 invoked by alias); 28 May 2012 17:30:13 -0000 Received: (qmail 24609 invoked by uid 22791); 28 May 2012 17:30:11 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,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; Mon, 28 May 2012 17:29:50 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q4SHTboF001363 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 28 May 2012 13:29:37 -0400 Received: from host2.jankratochvil.net (ovpn-116-47.ams2.redhat.com [10.36.116.47]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q4SHTVS1024261 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 28 May 2012 13:29:35 -0400 Date: Mon, 28 May 2012 17:30:00 -0000 From: Jan Kratochvil To: Joel Brobecker Cc: Doug Evans , gdb-patches@sourceware.org, David Malcolm , Tom Tromey , Ben Woodard Subject: Re: [RFA] ignore PYTHONHOME environment variable. Message-ID: <20120528172930.GA30697@host2.jankratochvil.net> References: <20101123030037.GA19962@host0.dyn.jankratochvil.net> <20101123163045.GA1737@host0.dyn.jankratochvil.net> <20101123173054.GW2634@adacore.com> <20101214071210.GQ2596@adacore.com> <20101214092645.GA20415@host0.dyn.jankratochvil.net> <20101214103305.GU2596@adacore.com> <20120518193352.GA12340@host2.jankratochvil.net> <20120528144121.GI5492@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120528144121.GI5492@adacore.com> 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: 2012-05/txt/msg00995.txt.bz2 Hi Joel, On Mon, 28 May 2012 16:41:21 +0200, Joel Brobecker wrote: > Is there something you need to fix on your side? Yes, user has requested the same feature. It is rather a decision what should be general behavior across applications linking with libpython (not just for GDB). For example (yum is like AFAIK apt): $ echo foo >site.py; PYTHONPATH=. yum list bash Traceback (most recent call last): File "./site.py", line 1, in foo NameError: name 'foo' is not defined $ _ VIM behaves the same (although its crashes only after first :python command). Therefore I have filed distro-wide (sure to be only FYI for FSF GDB, after/if it gets decided): https://fedorahosted.org/fesco/ticket/858 > But does it answer your question about "ignore it"? I have left the downstream decision to the ticket above, my already proposed behavior (current FSF GDB state) is clearly wrong for users. Thanks, Jan