[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

STINNER Victor report at bugs.python.org
Mon May 27 11:21:20 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

I understand that issue is now fixed in bpo-36763 by the implementation of the PEP 587 which adds a new public API for the "Python Initialization Configuration". It provides a finer API to configure the "Path Configuration". For example, PyConfig.executable can be used to replace _Py_SetProgramFullPath().

In Python 3.7, the private _Py_SetProgramFullPath() function can be used as a workaround.

I close the issue. If I misunderstood the issue, please comment/reopen it ;-)

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list