Volker Weißmann <volker.weissm...@gmx.de> added the comment:

"I have never used gdb, but I am curious what *is* the path to the python 
running the python code after 'python'? Is it part of or included with gdb?"
I honestly don't know. I think the python interpreter gets compiled into the 
python binary, because as a test, I removed every python interpreter on my 
system that I could find and the "python" command inside gdb still worked. But 
it uses some of pythons shared libraries that get installed when you install 
python.

I also suspect that it is a bug in gdb.
I think the only thing you can do is take a look at python's source code on how 
it finds sys.executable and check if it looks fishy or if it looks like it 
should never point to a non existing file. And we can wait if the gdb 
programmers will respond.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40218>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to