From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24406 invoked by alias); 21 Sep 2012 15:37:07 -0000 Received: (qmail 24228 invoked by uid 22791); 21 Sep 2012 15:37:05 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO 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; Fri, 21 Sep 2012 15:36:50 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id ACB901C7C0D; Fri, 21 Sep 2012 11:36:49 -0400 (EDT) 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 uGGZijSeeMZX; Fri, 21 Sep 2012 11:36:49 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 3522A1C7BDB; Fri, 21 Sep 2012 11:36:48 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 80A15CBC66; Fri, 21 Sep 2012 08:36:45 -0700 (PDT) Date: Fri, 21 Sep 2012 15:37:00 -0000 From: Joel Brobecker To: Jan Kratochvil Cc: Doug Evans , Meador Inge , gdb@sourceware.org Subject: Re: Using Py_SetPythonHome Message-ID: <20120921153645.GD5439@adacore.com> References: <50511945.2070400@codesourcery.com> <20120917170657.GB5716@adacore.com> <20120917174611.GA27891@host2.jankratochvil.net> <20120919080410.GA12296@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120919080410.GA12296@host2.jankratochvil.net> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-09/txt/msg00061.txt.bz2 > For the bundled uninstalled pack of files I find OK to use Py_SetPythonHome > although only in the case $PYTHONHOME is not set. If $PYTHONHOME is set then > GDB should not override it. This override is what was decided in: > http://bugs.python.org/issue14956#msg161959 FWIW, I read the discussion, and I find it inconclusive in the sense that they seem to lean towards letting each application decide for themselves what to do. Certainly, I am still in favor of the proposed patch, but IIRC, this is causing problems for you (?). This is why I dropped its inclusion in the FSF tree. -- Joel