This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] ignore PYTHONHOME environment variable.


Hi Joel,

On Mon, 28 May 2012 16:41:21 +0200, Joel Brobecker wrote:
> Is there something you need to fix on your side?

Yes, user has requested the same feature.  It is rather a decision what
should be general behavior across applications linking with libpython (not
just for GDB).  For example (yum is like AFAIK apt):
$ echo foo >site.py; PYTHONPATH=. yum list bash
Traceback (most recent call last):
  File "./site.py", line 1, in <module>
    foo
NameError: name 'foo' is not defined
$ _

VIM behaves the same (although its crashes only after first :python command).

Therefore I have filed distro-wide (sure to be only FYI for FSF GDB, after/if
it gets decided):
	https://fedorahosted.org/fesco/ticket/858


> But does it answer your question about "ignore it"?

I have left the downstream decision to the ticket above, my already proposed
behavior (current FSF GDB state) is clearly wrong for users.


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]