This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] ignore PYTHONHOME environment variable.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Doug Evans <dje at google dot com>, gdb-patches at sourceware dot org
- Date: Sat, 15 Jan 2011 06:42:14 -0500
- Subject: Re: [RFA] ignore PYTHONHOME environment variable.
- References: <AANLkTiko2FVL+ktF9JTBRedYz_wvsq_eP4rU3rLcOYmF@mail.gmail.com> <20101123163045.GA1737@host0.dyn.jankratochvil.net> <AANLkTi=W+PnwOfNkRRe5OMz0qm5vCghhduO5ve1Qk3zH@mail.gmail.com> <20101123173054.GW2634@adacore.com> <20101214071210.GQ2596@adacore.com> <20101214092645.GA20415@host0.dyn.jankratochvil.net> <20101214103305.GU2596@adacore.com> <20110113205504.GL2504@adacore.com> <AANLkTikf7JZPOVpS6RdP5OdT2LAW6xwk_E_XoANvng9A@mail.gmail.com> <20110115110917.GA14598@host1.dyn.jankratochvil.net>
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