Re: Using Py_SetPythonHome

Doug Evans
2012-09-18T19:38:03Z

On Mon, Sep 17, 2012 at 10:46 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Mon, 17 Sep 2012 19:06:57 +0200, Joel Brobecker wrote:
>> I believe Jan contacted the Python developers, and their answer
>> seemed to go in Jan's direction.
>
> Sorry for not replying it myself.
>
> The thread mails in each month:
> [RFA] ignore PYTHONHOME environment variable.
> http://sourceware.org/ml/gdb-patches/2010-11/msg00328.html
> http://sourceware.org/ml/gdb-patches/2010-12/msg00214.html
> http://sourceware.org/ml/gdb-patches/2011-01/msg00307.html
> http://sourceware.org/ml/gdb-patches/2012-05/msg00710.html
>
> and the last one with Python upstream decision:
> http://sourceware.org/ml/gdb-patches/2012-05/msg01041.html

It's not clear to me that upstream has made a decision (or that they
sufficiently understand our use-case).

btw, for reference sake, I'm not opposed to [1].
http://sources.redhat.com/ml/gdb-patches/2010-11/msg00328.html

If we need to provide some flexibility (via GDB_PYTHONHOME or some
command-line option) we could do so later when the need is justified.