This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Volker Weißmann
Recipients Volker Weißmann, terry.reedy
Date 2020-04-11.12:09:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586606978.21.0.990947858079.issue40218@roundup.psfhosted.org>
In-reply-to
Content
"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.
History
Date User Action Args
2020-04-11 12:09:38Volker Weißmannsetrecipients: + Volker Weißmann, terry.reedy
2020-04-11 12:09:38Volker Weißmannsetmessageid: <1586606978.21.0.990947858079.issue40218@roundup.psfhosted.org>
2020-04-11 12:09:38Volker Weißmannlinkissue40218 messages
2020-04-11 12:09:38Volker Weißmanncreate