Kaydet (Commit) 74de1536 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Issue #15020: The program name used to search for Python's path is now python3…

Issue #15020: The program name used to search for Python's path is now python3 under Unix, not python.
...@@ -10,6 +10,9 @@ What's New in Python 3.3.0 Beta 2? ...@@ -10,6 +10,9 @@ What's New in Python 3.3.0 Beta 2?
Core and Builtins Core and Builtins
----------------- -----------------
- Issue #15020: The program name used to search for Python's path is now
"python3" under Unix, not "python".
- Issue #15033: Fix the exit status bug when modules invoked using -m swith, - Issue #15033: Fix the exit status bug when modules invoked using -m swith,
return the proper failure return value (1). Patch contributed by Jeff Knupp. return the proper failure return value (1). Patch contributed by Jeff Knupp.
......
...@@ -778,7 +778,11 @@ Py_EndInterpreter(PyThreadState *tstate) ...@@ -778,7 +778,11 @@ Py_EndInterpreter(PyThreadState *tstate)
PyInterpreterState_Delete(interp); PyInterpreterState_Delete(interp);
} }
#ifdef MS_WINDOWS
static wchar_t *progname = L"python"; static wchar_t *progname = L"python";
#else
static wchar_t *progname = L"python3";
#endif
void void
Py_SetProgramName(wchar_t *pn) Py_SetProgramName(wchar_t *pn)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment