Re: [RFA] ignore PYTHONHOME environment variable.

Joel Brobecker
2011-01-15T11:42:22Z

On Sat, Jan 15, 2011 at 12:09:17PM +0100, Jan Kratochvil wrote:
> On Sat, 15 Jan 2011 08:55:59 +0100, Doug Evans wrote:
> > 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.
>
> I find this setup fine, Joel had some disagreements with it.

I must have misunderstood, because I don't remember disagreeing to
this proposal. I think that having a GDB_PYTHONHOME is a useful thing
to have, regardless of the disagreement on PYTHONHOME (which, I think,
is an orthogonal matter).

I'd say go for it.

--
Joel