diff Python/pythonrun.c @ 77949:c97d78415f5a 3.2

Issue #15020: The program name used to search for Python's path is now "python3" under Unix, not "python".
author Antoine Pitrou <solipsis@pitrou.net>
date Thu, 05 Jul 2012 20:56:30 +0200
parents 43606a4085b0
children 09408b990ca5 61e6ac40c816
line wrap: on
line diff
--- a/Python/pythonrun.c	Wed Jul 04 19:28:16 2012 -0700
+++ b/Python/pythonrun.c	Thu Jul 05 20:56:30 2012 +0200
@@ -696,7 +696,11 @@
     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)