Re: [RFA] ignore PYTHONHOME environment variable.

Jan Kratochvil
2010-11-23T16:31:35Z

On Tue, 23 Nov 2010 10:29:05 +0100, Doug Evans wrote:
> On Mon, Nov 22, 2010 at 7:00 PM, Jan Kratochvil <jan.kratochvil@redhat.com> wrote:
> > I am not a Python expect but I believe for GDB linked with the only regular
> > system Python $PYTHONHOME should work, even for GDB-Python.
[...]
> I'm not sure I understand the objection.
> AIUI, if gdb is linked with the system python then Joel's patch is
> essentially a nop
> (i.e. PYTHONHOME=/usr would still work).

But PYTHONHOME=$HOME for some user overrides of system Python would no longer
work. What would $PYTHONHOME otherwise be useful for?

At least for $PERL5LIB I add $HOME{/share,/lib{,64}}/perl5 myself. It seems
to me $PERL5LIB is in part $PYTHONHOME (.so) and $PYTHONPATH (.py).

[RFA] ignore PYTHONHOME environment variable.
http://sourceware.org/ml/gdb-patches/2010-11/msg00328.html

Regards,
Jan