mirror of
https://github.com/python/cpython.git
synced 2024-11-28 20:33:54 +08:00
1ce152a42e
Py_SetPath() now sets sys.executable to the program full path (Py_GetProgramFullPath()), rather than to the program name (Py_GetProgramName()). Fix also memory leaks in pathconfig_set_from_config().
4 lines
175 B
ReStructuredText
4 lines
175 B
ReStructuredText
:c:func:`Py_SetPath` now sets :data:`sys.executable` to the program full
|
|
path (:c:func:`Py_GetProgramFullPath`) rather than to the program name
|
|
(:c:func:`Py_GetProgramName`).
|