Re: Using Py_SetPythonHome

Jan Kratochvil
2012-09-21T15:44:09Z

On Fri, 21 Sep 2012 17:36:45 +0200, Joel Brobecker wrote:
> > For the bundled uninstalled pack of files I find OK to use Py_SetPythonHome
> > although only in the case $PYTHONHOME is not set. If $PYTHONHOME is set then
> > GDB should not override it. This override is what was decided in:
> > http://bugs.python.org/issue14956#msg161959
>
> FWIW, I read the discussion, and I find it inconclusive in the sense
> that they seem to lean towards letting each application decide for
> themselves what to do. Certainly, I am still in favor of the proposed
> patch, but IIRC, this is causing problems for you (?). This is why
> I dropped its inclusion in the FSF tree.

I cannot answer Py_SetPythonHome in standard build before I find out what is
the meaning of relocate_gdb_directory in standard build. Py_SetPythonHome
AFAIK does not have a meaning without relocate_gdb_directory and
relocate_gdb_directory is IMO already incorrect.

This is creating OS-in-an-application designs reimplementing what OS should do.

Regards,
Jan