mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
Issue #15020: The program name used to search for Python's path is now "python3" under Unix, not "python".
This commit is contained in:
parent
f01a337950
commit
01cca5e451
2 changed files with 7 additions and 0 deletions
|
@ -696,7 +696,11 @@ Py_EndInterpreter(PyThreadState *tstate)
|
|||
PyInterpreterState_Delete(interp);
|
||||
}
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
static wchar_t *progname = L"python";
|
||||
#else
|
||||
static wchar_t *progname = L"python3";
|
||||
#endif
|
||||
|
||||
void
|
||||
Py_SetProgramName(wchar_t *pn)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue