comparison 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
comparison
equal deleted inserted replaced
77946:fcbd3bda7c0f 77949:c97d78415f5a
694 PyInterpreterState_Clear(interp); 694 PyInterpreterState_Clear(interp);
695 PyThreadState_Swap(NULL); 695 PyThreadState_Swap(NULL);
696 PyInterpreterState_Delete(interp); 696 PyInterpreterState_Delete(interp);
697 } 697 }
698 698
699 #ifdef MS_WINDOWS
699 static wchar_t *progname = L"python"; 700 static wchar_t *progname = L"python";
701 #else
702 static wchar_t *progname = L"python3";
703 #endif
700 704
701 void 705 void
702 Py_SetProgramName(wchar_t *pn) 706 Py_SetProgramName(wchar_t *pn)
703 { 707 {
704 if (pn && *pn) 708 if (pn && *pn)