[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

Steve Dower report at bugs.python.org
Tue Oct 9 20:11:29 EDT 2018


Steve Dower <steve.dower at python.org> added the comment:

We'll need to bring in venv specialists to check whether using it outside of Py_Main() is valid. Or perhaps you could explain what you are actually trying to do?

I don't believe it is necessary when you are calling Py_SetPath yourself, and only the "launch normally with alternate args" case for scripts that use sys.executable are affected. But I'm happy to be set right here (with example scenarios, preferably).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34725>
_______________________________________


More information about the Python-bugs-list mailing list