diff Python/pythonrun.c @ 77950:61e6ac40c816

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:57:33 +0200
parents d63a80abfbec c97d78415f5a
children 3987667bf98f
line wrap: on
line diff
--- a/Python/pythonrun.c	Wed Jul 04 19:33:45 2012 -0700
+++ b/Python/pythonrun.c	Thu Jul 05 20:57:33 2012 +0200
@@ -778,7 +778,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)