Re: [RFA] ignore PYTHONHOME environment variable.

Doug Evans
2011-01-15T07:56:10Z

On Thu, Jan 13, 2011 at 12:55 PM, Joel Brobecker <brobecker@adacore.com> wrote:
> Given the lack of support and the resistance from Jan, this patch is
> withdrawn. (I think that's a mistake! :-P)

fwiw, I like GDB_PYTHONHOME. I'd rather not punt on this.

I'm not sure I completely understand the objections to something like
the following:

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.